diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-09-16 16:33:31 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-09-16 16:33:31 +0000 |
| commit | 229db5ee60168f72bcc28f1616a4df639ccc5126 (patch) | |
| tree | 0db7eac39aa8c477a8e74f9d724732aeb68c8c04 /src/helper/pixbuf-ops.cpp | |
| parent | remove extra unref; now ref/unref is done by show/hide; this used to stop thi... (diff) | |
| download | inkscape-229db5ee60168f72bcc28f1616a4df639ccc5126.tar.gz inkscape-229db5ee60168f72bcc28f1616a4df639ccc5126.zip | |
this item is not hide'd, so unref it instead to prevent leak
(bzr r6820)
Diffstat (limited to 'src/helper/pixbuf-ops.cpp')
| -rw-r--r-- | src/helper/pixbuf-ops.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
