diff options
author | Mark Michelson <mmichelson@digium.com> | 2009-06-01 14:42:57 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2009-06-01 14:42:57 +0000 |
commit | 0bde0b9ed25c2f39e37f8fd35ed7938304ff8853 (patch) | |
tree | 911747b7a3d98e4955d28138f28dd8b1bb82d07a /channels | |
parent | 3166b6dac955d77173000413e4dc04ab65f5afad (diff) |
Remove extra lock from local_indicate in connected line case.
Oh, and this fixes a deadlock I was seeing.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_local.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index 980afabdc..5eba90f4b 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -434,7 +434,6 @@ static int local_indicate(struct ast_channel *ast, int condition, const void *da } f.subclass = condition; f.data.ptr = frame_data; - ast_mutex_lock(&p->lock); if (!(res = local_queue_frame(p, isoutbound, &f, ast, 1))) { ast_mutex_unlock(&p->lock); } |