From: John Darrington Date: Sun, 29 Jul 2012 13:12:26 +0000 (+0200) Subject: Fix memory leak in Chisquare X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e087e3c0e412a3825edbcb50988ba86e423e4c8b;p=pspp Fix memory leak in Chisquare --- diff --git a/src/language/stats/chisquare.c b/src/language/stats/chisquare.c index 10d8113271..fc45eeb8c6 100644 --- a/src/language/stats/chisquare.c +++ b/src/language/stats/chisquare.c @@ -88,6 +88,8 @@ create_freq_hash_with_range (const struct dictionary *dict, } } + free (entries); + return casereader_destroy (input); }