[maemo-commits] [maemo-commits] r16021 - projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Sep 4 19:49:46 EEST 2008
Author: pvanhoof
Date: 2008-09-04 19:49:45 +0300 (Thu, 04 Sep 2008)
New Revision: 16021

Modified:
   projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/gdkpixbuf-plugin.c
Log:
sssh, don't tell anybody that I made this leak

Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/gdkpixbuf-plugin.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/gdkpixbuf-plugin.c	2008-09-04 16:40:21 UTC (rev 16020)
+++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/gdkpixbuf-plugin.c	2008-09-04 16:49:45 UTC (rev 16021)
@@ -162,6 +162,8 @@
 
 		save_thumb_file_meta (pixbuf_large, large, mtime, uri, &nerror);
 
+		gdk_pixbuf_unref (pixbuf_large);
+
 		if (nerror)
 			goto nerror_handler;
 
@@ -183,6 +185,7 @@
 
 		save_thumb_file_meta (pixbuf_normal, normal, mtime, uri, &nerror);
 
+		gdk_pixbuf_unref (pixbuf_normal);
 
 		nerror_handler:
 


More information about the maemo-commits mailing list