diff options
| author | buliabyak <> | 2013-09-28 18:37:37 +0000 |
|---|---|---|
| committer | buliabyak <> | 2013-09-28 18:37:37 +0000 |
| commit | f1d2cd8504b1d7171b86d13130920297cd474aaf (patch) | |
| tree | 6f385c89a238a3ab9a226ab7188b6a6e4cd4d3ae /src/sp-filter.cpp | |
| parent | dying document needs to delete its perspective (diff) | |
| download | inkscape-f1d2cd8504b1d7171b86d13130920297cd474aaf.tar.gz inkscape-f1d2cd8504b1d7171b86d13130920297cd474aaf.zip | |
components of _image_name were g_strdup'ed so need to be g_free'd
(bzr r12612)
Diffstat (limited to 'src/sp-filter.cpp')
| -rw-r--r-- | src/sp-filter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sp-filter.cpp b/src/sp-filter.cpp index 91389bf7d..1a5c65be9 100644 --- a/src/sp-filter.cpp +++ b/src/sp-filter.cpp @@ -114,6 +114,10 @@ void SPFilter::release() { this->href = NULL; } + for (map<gchar *, int, ltstr>::const_iterator i = this->_image_name->begin() ; i != this->_image_name->end() ; i++) { + g_free(i->first); + } + delete this->_image_name; SPObject::release(); |
