From: John Darrington Date: Thu, 30 Sep 2010 19:49:34 +0000 (+0200) Subject: Fix memory leak in casegrouper. Closes bug #30764 X-Git-Tag: v0.7.6~130 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=198b61f5c09f5f030534cc96248ff42acf03bd46;p=pspp-builds.git Fix memory leak in casegrouper. Closes bug #30764 --- 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);