From 80322c1bdbc6fdc135e4fb88c5362191123ec7c7 Mon Sep 17 00:00:00 2001 From: Russell Bryant <russell@russellbryant.com> Date: Thu, 22 Dec 2005 16:14:38 +0000 Subject: [PATCH] remove stray unlock (issue #5955) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7594 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 1 - 1 file changed, 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 12743a13d0..d5899aa25f 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2735,7 +2735,6 @@ static struct ast_channel *sip_new(struct sip_pvt *i, int state, char *title) else what = global_capability; tmp->nativeformats = ast_codec_choose(&i->prefs, what, 1); - ast_mutex_unlock(&i->lock); fmt = ast_best_codec(tmp->nativeformats); if (title) -- GitLab