diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-09-16 16:14:06 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-09-16 16:14:06 +0000 |
| commit | 25a33049c7e422374a08e58cdc70ff93da0332f2 (patch) | |
| tree | 52cc8e3e23d41bc1c5ff44038ee54b1751ee34fc /src/main.cpp | |
| parent | lpe-knot update. Each crossing can be flipped independently. (diff) | |
| download | inkscape-25a33049c7e422374a08e58cdc70ff93da0332f2.tar.gz inkscape-25a33049c7e422374a08e58cdc70ff93da0332f2.zip | |
the proper way to delete a SPDocument, according to mental
(bzr r6817)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index f8c87b5a6..f9c54aa2c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -913,8 +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; /// \todo: Check the proper way to delete a SPDocument. fl = g_slist_remove(fl, fl->data); } } |
