From: buliabyak Date: Tue, 16 Sep 2008 16:33:31 +0000 (+0000) Subject: this item is not hide'd, so unref it instead to prevent leak X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f71fc608082707d67d010ff860df1a7df67da884;p=inkscape.git this item is not hide'd, so unref it instead to prevent leak --- diff --git a/src/helper/pixbuf-ops.cpp b/src/helper/pixbuf-ops.cpp index 711e691f0..25e4920b9 100644 --- a/src/helper/pixbuf-ops.cpp +++ b/src/helper/pixbuf-ops.cpp @@ -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;