summaryrefslogtreecommitdiffhomepage
path: root/circbuffer.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2012-02-10 19:09:52 +0800
committerMatt Johnston <matt@ucc.asn.au>2012-02-10 19:09:52 +0800
commitbcf3a3ab932366ab91d1c2dbf28d7fef00702a8f (patch)
tree90ac4b36b42f8b64df04338ceebd02ff57f3fb77 /circbuffer.c
parentc894ea4ea2ed07cb939fde4f6d3ab4561016f986 (diff)
parent5feebd300ecb13b7938541a71d739452a450377a (diff)
Merge
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);
}