From: Heikki Levanto Date: Wed, 18 Aug 1999 08:38:04 +0000 (+0000) Subject: Memory leak hunting X-Git-Tag: ZEBRA.1.0~55 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=93fc01961d210c8ada1d3147763da8f7293dcbfb;p=idzebra-moved-to-github.git Memory leak hunting --- diff --git a/index/invstat.c b/index/invstat.c index a43cfa3..16d8187 100644 --- a/index/invstat.c +++ b/index/invstat.c @@ -300,14 +300,18 @@ void inv_prstat (BFiles bfs) isamh_close (isamh); if (isamd) isamd_close (isamd); - + + xmalloc_trav("unfreed"); /*! while hunting memory leaks */ } /* * * $Log: invstat.c,v $ - * Revision 1.15 1999-08-18 08:34:53 heikki + * Revision 1.16 1999-08-18 08:38:22 heikki + * Memory leak hunting + * + * Revision 1.15 1999/08/18 08:34:53 heikki * isamd * * Revision 1.14 1999/07/14 10:59:26 adam diff --git a/index/kinput.c b/index/kinput.c index 9a2d6c1..1c7d908 100644 --- a/index/kinput.c +++ b/index/kinput.c @@ -783,13 +783,18 @@ void key_input (BFiles bfs, int nkeys, int cache) logf (LOG_LOG, "Updates. . . . .%7d", no_updates); logf (LOG_LOG, "Deletions. . . .%7d", no_deletions); logf (LOG_LOG, "Insertions . . .%7d", no_insertions); + + xmalloc_trav("unfreed"); /* while hunting leaks */ } /* * $Log: kinput.c,v $ - * Revision 1.37 1999-07-14 13:21:34 heikki + * Revision 1.38 1999-08-18 08:38:04 heikki + * Memory leak hunting + * + * Revision 1.37 1999/07/14 13:21:34 heikki * Added isam-d files. Compiles (almost) clean. Doesn't work at all * * Revision 1.36 1999/07/14 10:59:26 adam