Fix memory leak in Chisquare
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 29 Jul 2012 13:12:26 +0000 (15:12 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 29 Jul 2012 13:12:26 +0000 (15:12 +0200)
src/language/stats/chisquare.c

index 10d81132715552b7ccaad1d96ad2587cf20988ac..fc45eeb8c655b8589efdc0ac54ee471627d89605 100644 (file)
@@ -88,6 +88,8 @@ create_freq_hash_with_range (const struct dictionary *dict,
         }
     }
 
+  free (entries);
+
   return casereader_destroy (input);
 }