[Asterisk-cvs] asterisk/channels chan_zap.c,1.221,1.222

markster at lists.digium.com markster at lists.digium.com
Sat May 8 10:15:38 CDT 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Add missing unlock (although it shouldn't make a difference)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.221
retrieving revision 1.222
diff -u -d -r1.221 -r1.222
--- chan_zap.c	7 May 2004 21:22:46 -0000	1.221
+++ chan_zap.c	8 May 2004 14:24:58 -0000	1.222
@@ -1641,6 +1641,7 @@
 		}
 		if (pri_grab(p, p->pri)) {
 			ast_log(LOG_WARNING, "Failed to grab PRI!\n");
+			ast_mutex_unlock(&p->lock);
 			return -1;
 		}
 		if (!(p->call = pri_new_call(p->pri->pri))) {




More information about the svn-commits mailing list