diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-02-11 00:16:53 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-02-11 00:16:53 +0000 |
| commit | 9faf941d45ce7d23f5cb0d066bd23346f7e3aedf (patch) | |
| tree | afe8aa81ba072f124d36f984ca44254f52326fb2 /src/ui | |
| parent | Fix bug #1662812 Converting Stroke to Path messes document's structure (diff) | |
| download | inkscape-9faf941d45ce7d23f5cb0d066bd23346f7e3aedf.tar.gz inkscape-9faf941d45ce7d23f5cb0d066bd23346f7e3aedf.zip | |
Fix a memory leak introduced in r15421 and r15501 respectively
(bzr r15505)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/dialog/symbols.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp index dcfb7f242..740ff4f39 100644 --- a/src/ui/dialog/symbols.cpp +++ b/src/ui/dialog/symbols.cpp @@ -463,6 +463,10 @@ SPDocument* read_vss( gchar* fullname, Glib::ustring name ) { RVNGFileStream input(fullname); + #ifdef WIN32 + g_free(fullname); + #endif + if (!libvisio::VisioDocument::isSupported(&input)) { return NULL; } |
