From: buliabyak Date: Sun, 21 Sep 2008 22:25:37 +0000 (+0000) Subject: releasing fails to delete document, even when memory is scarce, so delete it explicitly X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=791ececb38de50ef3d52d64d7c3cbdc3575b6828;p=inkscape.git releasing fails to delete document, even when memory is scarce, so delete it explicitly --- diff --git a/src/main.cpp b/src/main.cpp index f9c54aa2c..ebc7ddcdc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -913,7 +913,8 @@ void sp_process_file_list(GSList *fl) } else if (sp_query_x || sp_query_y) { do_query_dimension (doc, false, sp_query_x? NR::X : NR::Y, sp_query_id); } - Inkscape::GC::release (doc); + + delete doc; } fl = g_slist_remove(fl, fl->data); }