projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix crash in Correlations
[pspp-builds.git]
/
src
/
math
/
categoricals.c
diff --git
a/src/math/categoricals.c
b/src/math/categoricals.c
index f1bd09023758c0777507ca752b7b8462c23d5ea1..d3aa372867249807618885cf697d66984a8233fc 100644
(file)
--- a/
src/math/categoricals.c
+++ b/
src/math/categoricals.c
@@
-245,6
+245,8
@@
categoricals_destroy (struct categoricals *cat)
{
struct variable_node *vn = NULL;
int i;
+ if (NULL == cat)
+ return;
for (i = 0; i < cat->n_iap; ++i)
{
struct interaction_value *iv = NULL;