summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-09-16 16:22:47 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-09-16 16:22:47 +0000
commit1ec5fb337d0bd531e6a5aa88dc16d7f7d7fe6138 (patch)
tree92b40a3233f3af12987825b25e2dd13c152d0e75 /src/sp-item.cpp
parentthe proper way to delete a SPDocument, according to mental (diff)
downloadinkscape-1ec5fb337d0bd531e6a5aa88dc16d7f7d7fe6138.tar.gz
inkscape-1ec5fb337d0bd531e6a5aa88dc16d7f7d7fe6138.zip
remove unneeded ref, arenaitem is reffed when created on invoke_show and unreffed by invoke_hide; this ref caused most arenaitems to leak
(bzr r6818)
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 11d572818..d678200cb 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -1663,7 +1663,7 @@ sp_item_view_new_prepend(SPItemView *list, SPItem *item, unsigned flags, unsigne
new_view->next = list;
new_view->flags = flags;
new_view->key = key;
- new_view->arenaitem = nr_arena_item_ref(arenaitem);
+ new_view->arenaitem = arenaitem;
return new_view;
}