Code

releasing fails to delete document, even when memory is scarce, so delete it explicitly
authorbuliabyak <buliabyak@users.sourceforge.net>
Sun, 21 Sep 2008 22:25:37 +0000 (22:25 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sun, 21 Sep 2008 22:25:37 +0000 (22:25 +0000)
src/main.cpp

index f9c54aa2cb9dcba0062f12a3c536507e208fa81b..ebc7ddcdc2b17c96e98ab0ec62600ef43cba5e93 100644 (file)
@@ -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);
     }