Commit 30f66095 authored by peregrine's avatar peregrine Committed by Bryce Harrington
Browse files

fix two memory leaks

Fixed bugs:
  - https://launchpad.net/bugs/1662686
  - https://launchpad.net/bugs/1662683

(bzr r15493)
(cherry picked from commit a8d79ded

)
Signed-off-by: su-v's avatarsu-v <suv-sf@users.sf.net>
parent 776e2ff2
......@@ -967,6 +967,9 @@ void Script::checkStderr (const Glib::ustring &data,
warning.run();
delete textview;
delete scrollwindow;
return;
}
......
......@@ -213,6 +213,7 @@ ImageMagick::effect (Inkscape::Extension::Effect *module, Inkscape::UI::View::Vi
dc->_nodes[i]->setAttribute("xlink:href", dc->_caches[i], true);
dc->_nodes[i]->setAttribute("sodipodi:absref", NULL, true);
delete blob;
}
catch (Magick::Exception &error_) {
printf("Caught exception: %s \n", error_.what());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment