projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bae3da8
)
Fix memory leak
author
John Darrington
<john@darrington.wattle.id.au>
Sat, 26 Nov 2011 11:51:53 +0000
(12:51 +0100)
committer
John Darrington
<john@darrington.wattle.id.au>
Sat, 26 Nov 2011 11:51:53 +0000
(12:51 +0100)
src/math/categoricals.c
patch
|
blob
|
history
diff --git
a/src/math/categoricals.c
b/src/math/categoricals.c
index 88d0d5c238e87c8746f90fb9d2ef7acc9409d9c0..a2cf9dd7854c130afee0e6de6cda28b506e9d486 100644
(file)
--- 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);
}