projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29718a5
)
Add missing unlock (although it shouldn't make a difference)
author
Mark Spencer
<markster@digium.com>
Sat, 8 May 2004 14:24:58 +0000
(14:24 +0000)
committer
Mark Spencer
<markster@digium.com>
Sat, 8 May 2004 14:24:58 +0000
(14:24 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2922
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
40215c7
..
4ede61f
100755
(executable)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-1641,6
+1641,7
@@
static int zt_call(struct ast_channel *ast, char *rdest, int timeout)
}
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))) {