projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix numerous memory leaks.
[pspp]
/
src
/
math
/
categoricals.c
diff --git
a/src/math/categoricals.c
b/src/math/categoricals.c
index 30c4c567ce607bc1baaeaceeab599c86ba2fd1f5..3f9dc0097539eb5b72137866bab815e70e5d99f1 100644
(file)
--- a/
src/math/categoricals.c
+++ b/
src/math/categoricals.c
@@
-276,6
+276,7
@@
categoricals_destroy (struct categoricals *cat)
free (cat->iap[i].enc_sum);
hmap_destroy (&cat->iap[i].ivmap);
}
+ free (cat->iap);
/* Interate over each variable and delete its value map.