[asterisk-commits] mjordan: branch mjordan/trunk-deadlock r376229 - /team/mjordan/trunk-deadlock...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 13 16:02:40 CST 2012


Author: mjordan
Date: Tue Nov 13 16:02:36 2012
New Revision: 376229

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=376229
Log:
Let's try this again

Now without all the crashing and the what not

Modified:
    team/mjordan/trunk-deadlock/main/lock.c

Modified: team/mjordan/trunk-deadlock/main/lock.c
URL: http://svnview.digium.com/svn/asterisk/team/mjordan/trunk-deadlock/main/lock.c?view=diff&rev=376229&r1=376228&r2=376229
==============================================================================
--- team/mjordan/trunk-deadlock/main/lock.c (original)
+++ team/mjordan/trunk-deadlock/main/lock.c Tue Nov 13 16:02:36 2012
@@ -726,7 +726,7 @@
 	struct ast_lock_track *lt = *plt;
 
 	pthread_mutex_lock(&reentrancy_lock);
-	if (!plt) {
+	if (!lt) {
 		lt = *plt = (struct ast_lock_track *) calloc(1, sizeof(*lt));
 	} else {
 		pthread_mutex_unlock(&reentrancy_lock);




More information about the asterisk-commits mailing list