Code

remove unneeded ref, arenaitem is reffed when created on invoke_show and unreffed...
authorbuliabyak <buliabyak@users.sourceforge.net>
Tue, 16 Sep 2008 16:22:47 +0000 (16:22 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Tue, 16 Sep 2008 16:22:47 +0000 (16:22 +0000)
src/sp-item.cpp

index 11d5728180f628c231193026dafafdcc09f0ad4f..d678200cb6628776883955bb6cfebdb5a59201d5 100644 (file)
@@ -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;
 }