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:
2927000
)
dataset: Fix memory leak.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 7 May 2011 16:37:00 +0000
(09:37 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 7 May 2011 16:37:00 +0000
(09:37 -0700)
Reported by John Darrington.
src/data/dataset.c
patch
|
blob
|
history
diff --git
a/src/data/dataset.c
b/src/data/dataset.c
index 10009f4a5cc463e215a0373547cb19b6cadc8ce2..26c3a49244783f4ff84a734d8c024d8470a2b6d0 100644
(file)
--- a/
src/data/dataset.c
+++ b/
src/data/dataset.c
@@
-203,6
+203,7
@@
dataset_destroy (struct dataset *ds)
caseinit_destroy (ds->caseinit);
trns_chain_destroy (ds->permanent_trns_chain);
dataset_transformations_changed__ (ds, false);
+ free (ds->name);
free (ds);
}
}