From 69cf37d70723dca2edec3d8f5aecee35a97ebb1c Mon Sep 17 00:00:00 2001 From: bulia byak Date: Tue, 16 Sep 2008 16:31:48 +0000 Subject: 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) --- src/flood-context.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/flood-context.cpp') 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); -- cgit v1.2.3