From: Adam Dickmeiss Date: Thu, 4 Dec 2003 11:47:50 +0000 (+0000) Subject: memset freed NMEM block to Y (59 Hex) X-Git-Tag: YAZ.2.0.6~4 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=e5e0009a3e78e4ca72b5e0a4768e300091170323;p=yaz-moved-to-github.git memset freed NMEM block to Y (59 Hex) --- diff --git a/src/nmem.c b/src/nmem.c index 2526dbb..596d55b 100644 --- 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