summaryrefslogtreecommitdiff
path: root/app/wlib/gtklib/png.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/wlib/gtklib/png.c')
-rw-r--r--app/wlib/gtklib/png.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/wlib/gtklib/png.c b/app/wlib/gtklib/png.c
index e11869e..809de6a 100644
--- a/app/wlib/gtklib/png.c
+++ b/app/wlib/gtklib/png.c
@@ -59,6 +59,7 @@ wBool_t wBitMapWriteFile(wDraw_p d, const char * fileName)
return FALSE;
}
+ g_object_ref_sink(pixbuf);
g_object_unref(pixbuf);
return TRUE;
}