From 7f19b8bba3b3eb28130c34ed50fa56a6b3b374cd Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 13 Jul 1999 14:45:42 +0000 Subject: [PATCH] Fixed memory leak. --- rset/rsm_or.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rset/rsm_or.c b/rset/rsm_or.c index a0f37a5..324118b 100644 --- a/rset/rsm_or.c +++ b/rset/rsm_or.c @@ -1,10 +1,13 @@ /* - * Copyright (C) 1994-1998, Index Data + * Copyright (C) 1994-1999, Index Data * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: rsm_or.c,v $ - * Revision 1.8 1999-05-26 07:49:14 adam + * Revision 1.9 1999-07-13 14:45:42 adam + * Fixed memory leak. + * + * Revision 1.8 1999/05/26 07:49:14 adam * C++ compilation. * * Revision 1.7 1998/09/22 10:03:46 adam @@ -177,6 +180,7 @@ struct trunc_info *heap_init (int size, int key_size, static void heap_close (struct trunc_info *ti) { + xfree (ti->buf); xfree (ti->ptr); xfree (ti->indx); xfree (ti->heap); -- 1.7.10.4