diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-01 14:19:49 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-01 14:19:49 +0000 |
commit | c3001c1521ddb25ecb90a591a935bd2e5de54e95 (patch) | |
tree | 07f08c96ad2510fb146711e9200bcb3b50c9c8b8 /channels/chan_local.c | |
parent | 24cf2ce68b2902ec580b8af5503dc064be5bdcd4 (diff) |
Add missing unlock of local pvt.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198511 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_local.c')
-rw-r--r-- | channels/chan_local.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index 6f910931e..980afabdc 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -438,6 +438,8 @@ static int local_indicate(struct ast_channel *ast, int condition, const void *da if (!(res = local_queue_frame(p, isoutbound, &f, ast, 1))) { ast_mutex_unlock(&p->lock); } + } else { + ast_mutex_unlock(&p->lock); } } else { /* Queue up a frame representing the indication as a control frame */ |