[maemo-commits] [maemo-commits] r16085 - projects/haf/branches/hildon-thumbnail/daemonize/thumbs

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Sep 10 16:36:12 EEST 2008
Author: pvanhoof
Date: 2008-09-10 16:36:11 +0300 (Wed, 10 Sep 2008)
New Revision: 16085

Modified:
   projects/haf/branches/hildon-thumbnail/daemonize/thumbs/thumber-register.c
Log:
Fixed memleak

Modified: projects/haf/branches/hildon-thumbnail/daemonize/thumbs/thumber-register.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/thumbs/thumber-register.c	2008-09-10 13:35:48 UTC (rev 16084)
+++ projects/haf/branches/hildon-thumbnail/daemonize/thumbs/thumber-register.c	2008-09-10 13:36:11 UTC (rev 16085)
@@ -44,6 +44,7 @@
 		gsize len;
 		char *str = g_key_file_to_data (keyfile, &len, NULL);
 		fputs (str, file);
+		g_free (str);
 		fclose (file);
 	}
 }


More information about the maemo-commits mailing list