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:
6f481e0
)
Fix DESCRIPTIVES memory leak.
author
Ben Pfaff
<blp@gnu.org>
Wed, 31 Mar 2004 06:04:11 +0000
(06:04 +0000)
committer
Ben Pfaff
<blp@gnu.org>
Wed, 31 Mar 2004 06:04:11 +0000
(06:04 +0000)
src/ChangeLog
patch
|
blob
|
history
src/descript.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 6e121c9fa50363cd9bdd4effe86c17009e050598..36aba0424bdde44c3ef197731bbd1ad42f70d53f 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+Tue Mar 30 22:01:57 2004 Ben Pfaff <blp@gnu.org>
+
+ * descript.c: (cmd_descriptives) Free `vars' to avoid memory leak.
+
Mon Mar 29 16:26:40 2004 Ben Pfaff <blp@gnu.org>
* debug.c: Removed. Moved cmd_debug_evaluate() into expr-evl.c.
diff --git
a/src/descript.c
b/src/descript.c
index 55b1d37cccbe637c537238fb2e2a3cd579d639d2..e7577ae79171408d137110d094f651441f958a9c 100644
(file)
--- a/
src/descript.c
+++ b/
src/descript.c
@@
-396,10
+396,12
@@
cmd_descriptives (void)
setup_z_trns (dsc);
/* Done. */
+ free (vars);
free_dsc_proc (dsc);
return CMD_SUCCESS;
error:
+ free (vars);
free_dsc_proc (dsc);
return CMD_FAILURE;
}