projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc411c4
)
memset freed NMEM block to Y (59 Hex)
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 4 Dec 2003 11:47:50 +0000
(11:47 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 4 Dec 2003 11:47:50 +0000
(11:47 +0000)
src/nmem.c
patch
|
blob
|
history
diff --git
a/src/nmem.c
b/src/nmem.c
index
2526dbb
..
596d55b
100644
(file)
--- a/
src/nmem.c
+++ b/
src/nmem.c
@@
-3,7
+3,7
@@
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
- * $Id: nmem.c,v 1.1 2003-10-27 12:21:32 adam Exp $
+ * $Id: nmem.c,v 1.2 2003-12-04 11:47:50 adam Exp $
*/
/*
@@
-138,6
+138,7
@@
struct nmem_debug_info *nmem_debug_list = 0;
static void free_block(nmem_block *p)
{
+ memset(p->buf, 'Y', p->size);
p->next = freelist;
freelist = p;
#if NMEM_DEBUG