From 198b61f5c09f5f030534cc96248ff42acf03bd46 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Thu, 30 Sep 2010 21:49:34 +0200 Subject: [PATCH] Fix memory leak in casegrouper. Closes bug #30764 --- src/data/casegrouper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/data/casegrouper.c b/src/data/casegrouper.c index 9e7ab157..8d0b0812 100644 --- a/src/data/casegrouper.c +++ b/src/data/casegrouper.c @@ -100,6 +100,7 @@ casegrouper_get_next_group (struct casegrouper *grouper, case_unref (casereader_read (grouper->reader)); casewriter_write (writer, tmp); } + case_unref (tmp); case_unref (group_case); *reader = casewriter_make_reader (writer); -- 2.30.2