From f1d2cd8504b1d7171b86d13130920297cd474aaf Mon Sep 17 00:00:00 2001 From: buliabyak <> Date: Sat, 28 Sep 2013 15:37:37 -0300 Subject: components of _image_name were g_strdup'ed so need to be g_free'd (bzr r12612) --- src/sp-filter.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/sp-filter.cpp') 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::const_iterator i = this->_image_name->begin() ; i != this->_image_name->end() ; i++) { + g_free(i->first); + } + delete this->_image_name; SPObject::release(); -- cgit v1.2.3