[svn-commits] murf: branch murf/bug11210 r114026 - /team/murf/bug11210/main/astobj2.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Apr 10 09:45:46 CDT 2008


Author: murf
Date: Thu Apr 10 09:45:43 2008
New Revision: 114026

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114026
Log:
Very sloppy. I copied the routine but didn't change its key inner call. This had some really affects, in that the dialogs weren't getting destroyed.

Modified:
    team/murf/bug11210/main/astobj2.c

Modified: team/murf/bug11210/main/astobj2.c
URL: http://svn.digium.com/view/asterisk/team/murf/bug11210/main/astobj2.c?view=diff&rev=114026&r1=114025&r2=114026
==============================================================================
--- team/murf/bug11210/main/astobj2.c (original)
+++ team/murf/bug11210/main/astobj2.c Thu Apr 10 09:45:43 2008
@@ -179,7 +179,7 @@
 	if (p == NULL)
 		return -1;
 
-	ret =  ast_mutex_unlock(&p->priv_data.lock);
+	ret =  ast_mutex_trylock(&p->priv_data.lock);
 #ifdef AO2_DEBUG
 	if (!ret)
 		ast_atomic_fetchadd_int(&ao2.total_locked, 1);




More information about the svn-commits mailing list