summaryrefslogtreecommitdiffstats
path: root/src/dialogs/stroke-style.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-09-16 16:37:23 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-09-16 16:37:23 +0000
commit0cdb6a3ff35a95879f25965cee35c888dfc7f008 (patch)
tree663b9ede6a109d9384443cd0a58360d5a91900c4 /src/dialogs/stroke-style.cpp
parenthide the item shown for tracing, fixes leak (diff)
downloadinkscape-0cdb6a3ff35a95879f25965cee35c888dfc7f008.tar.gz
inkscape-0cdb6a3ff35a95879f25965cee35c888dfc7f008.zip
fix leak of the arena and arenaitem
(bzr r6822)
Diffstat (limited to 'src/dialogs/stroke-style.cpp')
-rw-r--r--src/dialogs/stroke-style.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dialogs/stroke-style.cpp b/src/dialogs/stroke-style.cpp
index fe23516ba..fe621e4f1 100644
--- a/src/dialogs/stroke-style.cpp
+++ b/src/dialogs/stroke-style.cpp
@@ -688,6 +688,9 @@ sp_marker_menu_build (Gtk::Menu *m, GSList *marker_list, SPDocument *source, SPD
m->append(*i);
}
+
+ sp_item_invoke_hide(SP_ITEM(sp_document_root(sandbox)), visionkey);
+ nr_object_unref((NRObject *) arena);
}
/**