libsoup r1270 - in trunk: . libsoup



Author: danw
Date: Sat Apr 11 12:45:57 2009
New Revision: 1270
URL: http://svn.gnome.org/viewvc/libsoup?rev=1270&view=rev

Log:
	Bug 578645 - crash in Rhythmbox Music Player

	* libsoup/soup-proxy-resolver-gnome.c
	(soup_proxy_resolver_gnome_init): unlock id.lock before freeing
	it. (Fixes the case where SoupProxyResolverGNOME is first
	initialized from a thread other than the main thread, while the
	default main loop is running.)


Modified:
   trunk/ChangeLog
   trunk/libsoup/soup-proxy-resolver-gnome.c

Modified: trunk/libsoup/soup-proxy-resolver-gnome.c
==============================================================================
--- trunk/libsoup/soup-proxy-resolver-gnome.c	(original)
+++ trunk/libsoup/soup-proxy-resolver-gnome.c	Sat Apr 11 12:45:57 2009
@@ -134,6 +134,7 @@
 			g_mutex_lock (id.lock);
 			g_idle_add (init_gconf, &id);
 			g_cond_wait (id.cond, id.lock);
+			g_mutex_unlock (id.lock);
 
 			g_cond_free (id.cond);
 			g_mutex_free (id.lock);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]