projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
920ccda
)
Fix remaining leaks in ods-reader.c
author
John Darrington
<john@darrington.wattle.id.au>
Fri, 8 Mar 2013 08:45:02 +0000
(09:45 +0100)
committer
John Darrington
<john@darrington.wattle.id.au>
Fri, 8 Mar 2013 08:45:02 +0000
(09:45 +0100)
src/data/ods-reader.c
patch
|
blob
|
history
diff --git
a/src/data/ods-reader.c
b/src/data/ods-reader.c
index 72cfe21ae640a4ff595d4df4de48446d95858ca0..5306691c6cc6c23efa2423fff1a5386e7e3043fc 100644
(file)
--- a/
src/data/ods-reader.c
+++ b/
src/data/ods-reader.c
@@
-864,7
+864,6
@@
ods_make_reader (struct spreadsheet *spreadsheet,
error:
-#if 0
for ( i = 0 ; i < n_var_specs ; ++i )
{
free (var_spec[i].firstval.type);
@@
-877,10
+876,8
@@
ods_make_reader (struct spreadsheet *spreadsheet,
dict_destroy (r->spreadsheet.dict);
r->spreadsheet.dict = NULL;
-#endif
ods_file_casereader_destroy (NULL, r);
-
return NULL;
}