projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove property settings from psppire_data_window and put them into the GtkBuilder...
[pspp]
/
src
/
language
/
data-io
/
data-list.c
diff --git
a/src/language/data-io/data-list.c
b/src/language/data-io/data-list.c
index 3b091404f80f491edfe04418cf7c6b6830a16e72..d43af347a701693224980ea18281eaf72d6c0e60 100644
(file)
--- a/
src/language/data-io/data-list.c
+++ b/
src/language/data-io/data-list.c
@@
-86,7
+86,7
@@
cmd_data_list (struct lexer *lexer, struct dataset *ds)
bool ok;
dict = in_input_program () ? dataset_dict (ds) : dict_create ();
bool ok;
dict = in_input_program () ? dataset_dict (ds) : dict_create ();
- parser = data_parser_create ();
+ parser = data_parser_create (
dict
);
reader = NULL;
table = -1; /* Print table if nonzero, -1=undecided. */
reader = NULL;
table = -1; /* Print table if nonzero, -1=undecided. */
@@
-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);
data_parser_make_active_file (parser, ds, reader, dict);
fh_unref (fh);
+ ds_destroy (&encoding);
return CMD_SUCCESS;
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);
if (!in_input_program ())
dict_destroy (dict);
fh_unref (fh);
+ ds_destroy (&encoding);
return CMD_CASCADING_FAILURE;
}
\f
return CMD_CASCADING_FAILURE;
}
\f