[Asterisk-cvs] asterisk channel.c,1.73.2.2,1.73.2.3

markster at lists.digium.com markster at lists.digium.com
Fri Feb 20 15:14:12 CST 2004


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

Modified Files:
      Tag: v1-0_stable
	channel.c 
Log Message:
Minor reordering for bug #981


Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.73.2.2
retrieving revision 1.73.2.3
diff -u -d -r1.73.2.2 -r1.73.2.3
--- channel.c	19 Feb 2004 20:08:34 -0000	1.73.2.2
+++ channel.c	20 Feb 2004 20:01:41 -0000	1.73.2.3
@@ -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