projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f15c0f
)
Fix crash in Correlations
20110729030502/pspp
20110730030502/pspp
author
John Darrington
<john@darrington.wattle.id.au>
Thu, 28 Jul 2011 10:16:14 +0000
(12:16 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Thu, 28 Jul 2011 10:16:14 +0000
(12:16 +0200)
src/math/categoricals.c
patch
|
blob
|
history
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;