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:
e0e0fab
)
Fix memory leak in cmd_data_list().
author
Ben Pfaff
<blp@gnu.org>
Wed, 8 Apr 2009 04:26:50 +0000
(21:26 -0700)
committer
Ben Pfaff
<blp@gnu.org>
Wed, 8 Apr 2009 04:26:50 +0000
(21:26 -0700)
src/language/data-io/data-list.c
patch
|
blob
|
history
diff --git
a/src/language/data-io/data-list.c
b/src/language/data-io/data-list.c
index 3b091404f80f491edfe04418cf7c6b6830a16e72..de85748856e003928f67512b17f93e265cead03e 100644
(file)
--- a/
src/language/data-io/data-list.c
+++ b/
src/language/data-io/data-list.c
@@
-294,6
+294,7
@@
cmd_data_list (struct lexer *lexer, struct dataset *ds)
data_parser_make_active_file (parser, ds, reader, dict);
fh_unref (fh);
+ ds_destroy (&encoding);
return CMD_SUCCESS;
@@
-302,6
+303,7
@@
cmd_data_list (struct lexer *lexer, struct dataset *ds)
if (!in_input_program ())
dict_destroy (dict);
fh_unref (fh);
+ ds_destroy (&encoding);
return CMD_CASCADING_FAILURE;
}
\f