Code

this item is not hide'd, so unref it instead to prevent leak
authorbuliabyak <buliabyak@users.sourceforge.net>
Tue, 16 Sep 2008 16:33:31 +0000 (16:33 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Tue, 16 Sep 2008 16:33:31 +0000 (16:33 +0000)
src/helper/pixbuf-ops.cpp

index 711e691f0e0126368c06a27352368f0019ad2e3f..25e4920b9fa9c3a1eef8f6c1992d0674895b2339 100644 (file)
@@ -169,6 +169,8 @@ sp_generate_internal_bitmap(SPDocument *doc, gchar const */*filename*/,
                                           (GdkPixbufDestroyNotify)g_free,
                                           NULL);
 
+     nr_arena_item_unref(root);
+
 //    gdk_pixbuf_save (pixbuf, "C:\\temp\\internal.jpg", "jpeg", NULL, "quality","100", NULL);
 
     return pixbuf;