X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fkinput.c;h=d4518c34f233eb4b5f79c51eba0dc7877a02adb5;hb=ab29b69b841495c2713d8a82ad8b2100f78aa3aa;hp=9a2d6c1b0b667800bea961b5e9d9f5dc860b8ba7;hpb=e8f4cf34c75ffdc7bbfaf3fa232f29cc1384b60c;p=idzebra-moved-to-github.git diff --git a/index/kinput.c b/index/kinput.c index 9a2d6c1..d4518c3 100644 --- a/index/kinput.c +++ b/index/kinput.c @@ -4,6 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss, Heikki Levanto * * (log at the end) + * + * Bugs + * - Allocates a lot of memory for the merge process, but never releases it. + * Doesn't matter, as the program terminates soon after. */ @@ -783,13 +787,21 @@ 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.39 1999-08-18 10:39:20 heikki + * Added a comment on memory leaks + * + * 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