summaryrefslogtreecommitdiffhomepage
path: root/circbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'circbuffer.c')
-rw-r--r--circbuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/circbuffer.c b/circbuffer.c
index f19b70a..7953737 100644
--- a/circbuffer.c
+++ b/circbuffer.c
@@ -48,6 +48,7 @@ circbuffer * cbuf_new(unsigned int size) {
void cbuf_free(circbuffer * cbuf) {
+ m_burn(cbuf->data, cbuf->size);
m_free(cbuf->data);
m_free(cbuf);
}