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/sp-switch.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/sp-switch.cpp') diff --git a/src/sp-switch.cpp b/src/sp-switch.cpp index 9be85785d..37be6f75e 100644 --- a/src/sp-switch.cpp +++ b/src/sp-switch.cpp @@ -172,7 +172,6 @@ void CSwitch::_showChildren (NRArena *arena, NRArenaItem *ai, unsigned int key, if (ac) { nr_arena_item_add_child (ai, ac, ar); ar = ac; - nr_arena_item_unref (ac); } } l = g_slist_remove (l, o); -- cgit v1.2.3