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 12743a1..d5899aa 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)