From: John Darrington Date: Sat, 4 Aug 2012 05:26:07 +0000 (+0200) Subject: Fixed leak in Chi-Squared test X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=475839947ee49936677d67e17d4ffa34d408a521;p=pspp Fixed leak in Chi-Squared test --- 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; }