From: John Darrington Date: Sat, 26 Nov 2011 11:51:53 +0000 (+0100) Subject: Fix memory leak X-Git-Tag: v0.7.9~73 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=commitdiff_plain;h=3b45b998691d080fcb64cb8783633cf7b14a54ff Fix memory leak --- diff --git a/src/math/categoricals.c b/src/math/categoricals.c index 88d0d5c2..a2cf9dd7 100644 --- a/src/math/categoricals.c +++ b/src/math/categoricals.c @@ -264,6 +264,9 @@ categoricals_destroy (struct categoricals *cat) { case_unref (iv->ccase); } + + free (cat->iap[i].enc_sum); + free (cat->iap[i].df_prod); hmap_destroy (&cat->iap[i].ivmap); }