[Asterisk-cvs] asterisk channel.c,1.75,1.76

markster at lists.digium.com markster at lists.digium.com
Fri Feb 20 15:13:22 CST 2004


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

Modified Files:
	channel.c 
Log Message:
Fix minor ordering issue (bug #981)


Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- channel.c	19 Feb 2004 20:07:01 -0000	1.75
+++ channel.c	20 Feb 2004 20:00:49 -0000	1.76
@@ -630,8 +630,8 @@
 	/* If this channel is one which will be masqueraded into something, 
 	   mark it as a zombie already, so we know to free it later */
 	if (chan->masqr) {
-		ast_mutex_unlock(&chan->lock);
 		chan->zombie=1;
+		ast_mutex_unlock(&chan->lock);
 		return 0;
 	}
 	free_translation(chan);




More information about the svn-commits mailing list