aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-08 14:24:58 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-08 14:24:58 +0000
commit15b482c6921c58a41bb1a8166408c7f80d6afe14 (patch)
treea009312fa871986ebc9ab9a067e7d108b647ed91 /channels
parent01b65e2f0946e20b6e74ee19140487813e41ee57 (diff)
Add missing unlock (although it shouldn't make a difference)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2922 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_zap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 40215c7c9..4ede61f40 100755
--- 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))) {