Use memwipe() in chunk_clear()
This commit is contained in:
1 parent
ed678b52e2
commit
7dc48bab1b
1 file changed
+1
-1
@@ -175,7 +175,7 @@ static inline void chunk_clear(chunk_t *chunk)
|
||||
{
|
||||
if (chunk->ptr)
|
||||
{
|
||||
memset(chunk->ptr, 0, chunk->len);
|
||||
memwipe(chunk->ptr, chunk->len);
|
||||
chunk_free(chunk);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user