From e087e3c0e412a3825edbcb50988ba86e423e4c8b Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 29 Jul 2012 15:12:26 +0200 Subject: [PATCH] Fix memory leak in Chisquare --- src/language/stats/chisquare.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.30.2