[Asterisk-cvs] asterisk/channels chan_zap.c,1.307,1.308
markster at lists.digium.com
markster at lists.digium.com
Mon Jul 26 09:52:42 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory localhost.localdomain:/tmp/cvs-serv5368/channels
Modified Files:
chan_zap.c
Log Message:
Make sure we release the correct lock!
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.307
retrieving revision 1.308
diff -u -d -r1.307 -r1.308
--- chan_zap.c 26 Jul 2004 13:16:57 -0000 1.307
+++ chan_zap.c 26 Jul 2004 13:38:47 -0000 1.308
@@ -2882,8 +2882,8 @@
p->subs[SUB_THREEWAY].owner->bridge->name, p->subs[SUB_REAL].owner->name);
return -1;
}
- swap_subs(p, SUB_THREEWAY, SUB_REAL);
ast_mutex_unlock(&p->subs[SUB_THREEWAY].owner->lock);
+ swap_subs(p, SUB_THREEWAY, SUB_REAL);
unalloc_sub(p, SUB_THREEWAY);
/* Tell the caller not to hangup */
return 1;
More information about the svn-commits
mailing list