diff options
| author | Josh Andler <scislac@gmail.com> | 2009-12-16 21:27:19 +0000 |
|---|---|---|
| committer | Josh Andler <scislac@gmail.com> | 2009-12-16 21:27:19 +0000 |
| commit | 2e2d12079c6034d82a8d70db7e2c8a0f0199ff5f (patch) | |
| tree | cffe6759e653c409ca2419e6405eb3e7616dfa85 /src/dom/util | |
| parent | Embedimage extension fix and stderr Unicode support in inkex.py (diff) | |
| download | inkscape-2e2d12079c6034d82a8d70db7e2c8a0f0199ff5f.tar.gz inkscape-2e2d12079c6034d82a8d70db7e2c8a0f0199ff5f.zip | |
Patches 3-11 from 488862 for a number of memleaks and allocation/deallocation issues.
(bzr r8891)
Diffstat (limited to 'src/dom/util')
| -rw-r--r-- | src/dom/util/ziptool.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dom/util/ziptool.cpp b/src/dom/util/ziptool.cpp index 40f456bd6..1e915ab0a 100644 --- a/src/dom/util/ziptool.cpp +++ b/src/dom/util/ziptool.cpp @@ -2207,6 +2207,7 @@ ZipEntry *ZipFile::addFile(const std::string &fileName, ZipEntry *ze = new ZipEntry(); if (!ze->readFile(fileName, comment)) { + delete ze; return NULL; } entries.push_back(ze); |
