diff options
author | Mark Michelson <mmichelson@digium.com> | 2009-06-01 14:19:49 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2009-06-01 14:19:49 +0000 |
commit | 3166b6dac955d77173000413e4dc04ab65f5afad (patch) | |
tree | 07f08c96ad2510fb146711e9200bcb3b50c9c8b8 /channels | |
parent | 0550a878f4141a1fc36629cddcc24f7313e998be (diff) |
Add missing unlock of local pvt.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-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 */ |