From: Adam Dickmeiss Date: Fri, 31 Oct 1997 12:34:27 +0000 (+0000) Subject: Bug fix: memory leak. X-Git-Tag: ZEBRA.1.0~283 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=02e38d377742dae21e624d6fa1bf43c3940d9aac;p=idzebra-moved-to-github.git Bug fix: memory leak. --- diff --git a/index/trunc.c b/index/trunc.c index 5acc72d..56ad3fb 100644 --- a/index/trunc.c +++ b/index/trunc.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: trunc.c,v $ - * Revision 1.7 1997-09-29 09:07:29 adam + * Revision 1.8 1997-10-31 12:34:27 adam + * Bug fix: memory leak. + * + * Revision 1.7 1997/09/29 09:07:29 adam * Minor change. * * Revision 1.6 1997/09/22 12:39:06 adam @@ -138,6 +141,7 @@ static void heap_close (struct trunc_info *ti) xfree (ti->heap); xfree (ti->swapbuf); xfree (ti->tmpbuf); + xfree (ti->buf); xfree (ti); }