diff options
Diffstat (limited to 'util/secmem.c')
-rw-r--r-- | util/secmem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/secmem.c b/util/secmem.c index 3db66c062..f48b0edb0 100644 --- a/util/secmem.c +++ b/util/secmem.c @@ -324,6 +324,8 @@ secmem_free( void *a ) mb = (MEMBLOCK*)((char*)a - ((size_t) &((MEMBLOCK*)0)->u.aligned.c)); size = mb->size; + /* This does not make much sense: probably this memory is held in the + * cache. We do it anyway: */ memset(mb, 0xff, size ); memset(mb, 0xaa, size ); memset(mb, 0x55, size ); |