[Asterisk-cvs] asterisk/channels chan_iax2.c,1.79,1.80

markster at lists.digium.com markster at lists.digium.com
Mon Dec 8 17:50:40 CST 2003


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv30330/channels

Modified Files:
	chan_iax2.c 
Log Message:
Remove gratuitous race


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- chan_iax2.c	5 Dec 2003 16:13:43 -0000	1.79
+++ chan_iax2.c	8 Dec 2003 23:42:07 -0000	1.80
@@ -996,9 +996,9 @@
 		if (usecnt < 0) 
 			ast_log(LOG_WARNING, "Usecnt < 0???\n");
 		ast_mutex_unlock(&usecnt_lock);
-		ast_update_use_count();
 	}
 	ast_mutex_unlock(&iaxsl[callno]);
+	ast_update_use_count();
 	return 0;
 }
 




More information about the svn-commits mailing list