projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3b4d3a
)
Fix leaks in ODS reader
author
John Darrington
<john@darrington.wattle.id.au>
Sun, 29 Jul 2012 09:22:13 +0000
(11:22 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sun, 29 Jul 2012 09:22:13 +0000
(11:22 +0200)
src/data/ods-reader.c
patch
|
blob
|
history
diff --git
a/src/data/ods-reader.c
b/src/data/ods-reader.c
index 9c165f9c92e30bd305a233f7b8bf4e4e57e2a50d..240c016898b010270b80e30125bfba2889862156 100644
(file)
--- a/
src/data/ods-reader.c
+++ b/
src/data/ods-reader.c
@@
-592,6
+592,10
@@
ods_open_reader (struct spreadsheet_read_info *gri, struct dictionary **dict)
free (var_spec);
+ dict_destroy (r->dict);
+ ods_file_casereader_destroy (zreader, r);
+
+
return NULL;
}