remove stray unlock (issue #5955)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 21 years ago
parent 9adc59ca3a
commit 80322c1bdb

@ -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)

Loading…
Cancel
Save