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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Sep 15 18:25:34 EEST 2008
Author: pvanhoof
Date: 2008-09-15 18:25:32 +0300 (Mon, 15 Sep 2008)
New Revision: 16109

Modified:
   projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c
Log:
Making a lock smaller

Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c	2008-09-15 14:16:14 UTC (rev 16108)
+++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c	2008-09-15 15:25:32 UTC (rev 16109)
@@ -373,10 +373,9 @@
 		g_hash_table_replace (supported_h, g_strdup (copy->data), NULL);
 		copy = g_list_next (copy);
 	}
+	g_mutex_unlock (priv->mutex);
 	g_list_free (copy);
 
-	g_mutex_unlock (priv->mutex);
-
 	g_hash_table_iter_init (&iter, supported_h);
 
 	supported = (GStrv) g_malloc0 (sizeof (gchar *) * (g_hash_table_size (supported_h) + 1));


More information about the maemo-commits mailing list