From f71fc608082707d67d010ff860df1a7df67da884 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Tue, 16 Sep 2008 16:33:31 +0000 Subject: [PATCH] this item is not hide'd, so unref it instead to prevent leak --- src/helper/pixbuf-ops.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.30.2