From: Russell Bryant Date: Thu, 22 Dec 2005 16:14:38 +0000 (+0000) Subject: remove stray unlock (issue #5955) X-Git-Tag: 1.4.0-beta1~3152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80322c1bdbc6fdc135e4fb88c5362191123ec7c7;p=thirdparty%2Fasterisk.git remove stray unlock (issue #5955) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7594 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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)