summaryrefslogtreecommitdiffstats
path: root/src/flood-context.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-09-16 16:31:48 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-09-16 16:31:48 +0000
commit69cf37d70723dca2edec3d8f5aecee35a97ebb1c (patch)
tree730a60bced14740cdff7f00dc6401ef11fc48e36 /src/flood-context.cpp
parentremove unneeded ref, arenaitem is reffed when created on invoke_show and unre... (diff)
downloadinkscape-69cf37d70723dca2edec3d8f5aecee35a97ebb1c.tar.gz
inkscape-69cf37d70723dca2edec3d8f5aecee35a97ebb1c.zip
remove extra unref; now ref/unref is done by show/hide; this used to stop this arenaitem from leaking, but this is now fixed properly in SPItem
(bzr r6819)
Diffstat (limited to 'src/flood-context.cpp')
-rw-r--r--src/flood-context.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/flood-context.cpp b/src/flood-context.cpp
index 1057fd4be..22eee6468 100644
--- a/src/flood-context.cpp
+++ b/src/flood-context.cpp
@@ -874,7 +874,6 @@ static void sp_flood_do_flood_fill(SPEventContext *event_context, GdkEvent *even
// Hide items
sp_item_invoke_hide(SP_ITEM(sp_document_root(document)), dkey);
- nr_arena_item_unref(root);
nr_object_unref((NRObject *) arena);
guchar *trace_px = g_new(guchar, width * height);