mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Clear a few buffers when possible
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user