diff circbuffer.c @ 648:4222a1039b06

Clear a few buffers when possible
author Matt Johnston <matt@ucc.asn.au>
date Fri, 10 Feb 2012 18:32:18 +0800
parents a98a2138364a
children abd99ecd7ec2
line wrap: on
line diff
--- a/circbuffer.c	Tue Nov 08 00:01:47 2011 +0800
+++ b/circbuffer.c	Fri Feb 10 18:32:18 2012 +0800
@@ -48,6 +48,7 @@
 
 void cbuf_free(circbuffer * cbuf) {
 
+	m_burn(cbuf->data, cbuf->size);
 	m_free(cbuf->data);
 	m_free(cbuf);
 }