projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
174ada1
)
ods-reader: Fix ods_file_casereader_destroy() call in open function.
20120801000505/pspp
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 1 Aug 2012 05:55:30 +0000
(22:55 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 1 Aug 2012 05:55:30 +0000
(22:55 -0700)
zreader is a "struct zip_reader *" but ods_file_casereader_destroy()
takes a "struct casereader *". However ods_file_casereader_destroy()
doesn't actually use that argument so we might as well pass NULL.
src/data/ods-reader.c
patch
|
blob
|
history
diff --git
a/src/data/ods-reader.c
b/src/data/ods-reader.c
index 240c016898b010270b80e30125bfba2889862156..170c005739b9eed6070465743d20ac4de521bab9 100644
(file)
--- a/
src/data/ods-reader.c
+++ b/
src/data/ods-reader.c
@@
-593,7
+593,7
@@
ods_open_reader (struct spreadsheet_read_info *gri, struct dictionary **dict)
free (var_spec);
dict_destroy (r->dict);
- ods_file_casereader_destroy (
zreader
, r);
+ ods_file_casereader_destroy (
NULL
, r);
return NULL;