From 3166b6dac955d77173000413e4dc04ab65f5afad Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Mon, 1 Jun 2009 14:19:49 +0000 Subject: Add missing unlock of local pvt. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198511 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_local.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'channels/chan_local.c') 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 */ -- cgit v1.2.3