]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
remove stray unlock (issue #5955)
authorRussell Bryant <russell@russellbryant.com>
Thu, 22 Dec 2005 16:14:38 +0000 (16:14 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 22 Dec 2005 16:14:38 +0000 (16:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7594 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 12743a13d0bc603de34a5dae692695ec0f0a39e9..d5899aa25fa37dd1cc0b83e4e352f752f1b44c25 100644 (file)
@@ -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)