From 791ececb38de50ef3d52d64d7c3cbdc3575b6828 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sun, 21 Sep 2008 22:25:37 +0000 Subject: [PATCH] releasing fails to delete document, even when memory is scarce, so delete it explicitly --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.30.2