From 229db5ee60168f72bcc28f1616a4df639ccc5126 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Tue, 16 Sep 2008 16:33:31 +0000 Subject: this item is not hide'd, so unref it instead to prevent leak (bzr r6820) --- src/helper/pixbuf-ops.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; -- cgit v1.2.3