From 475839947ee49936677d67e17d4ffa34d408a521 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 4 Aug 2012 07:26:07 +0200 Subject: [PATCH] Fixed leak in Chi-Squared test --- src/language/stats/chisquare.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/language/stats/chisquare.c b/src/language/stats/chisquare.c index fc45eeb8c6..2b5864ee1e 100644 --- a/src/language/stats/chisquare.c +++ b/src/language/stats/chisquare.c @@ -154,6 +154,7 @@ create_variable_frequency_table (const struct dictionary *dict, test->n_expected, n_cells, var_get_name (var) ); + freq_hmap_destroy (freq_hash, var_get_width (var)); return NULL; } -- 2.30.2