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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Sep 8 20:37:08 EEST 2008
Author: pvanhoof
Date: 2008-09-08 20:37:06 +0300 (Mon, 08 Sep 2008)
New Revision: 16068

Modified:
   projects/haf/branches/hildon-thumbnail/daemonize/thumbs/hildon-thumbnail-factory.c
Log:
Memleak fix, the real fix

Modified: projects/haf/branches/hildon-thumbnail/daemonize/thumbs/hildon-thumbnail-factory.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/thumbs/hildon-thumbnail-factory.c	2008-09-08 17:36:32 UTC (rev 16067)
+++ projects/haf/branches/hildon-thumbnail/daemonize/thumbs/hildon-thumbnail-factory.c	2008-09-08 17:37:06 UTC (rev 16068)
@@ -368,7 +368,7 @@
 on_cancelled (DBusGProxy *proxy, GError *error, gpointer userdata)
 {
 	ThumbsItem *item = userdata;
-	g_hash_table_replace (tasks, (gpointer) item->handle_id, item);
+	g_hash_table_remove (tasks, (gpointer) item->handle_id);
 }
 
 void hildon_thumbnail_factory_cancel(HildonThumbnailFactoryHandle handle)


More information about the maemo-commits mailing list