mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
remove stray unlock (issue #5955)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2736,7 +2736,6 @@ static struct ast_channel *sip_new(struct sip_pvt *i, int state, char *title)
|
||||
tmp->nativeformats = ast_codec_choose(&i->prefs, i->capability, 1);
|
||||
else
|
||||
tmp->nativeformats = ast_codec_choose(&i->prefs, global_capability, 1);
|
||||
ast_mutex_unlock(&i->lock);
|
||||
fmt = ast_best_codec(tmp->nativeformats);
|
||||
|
||||
if (title)
|
||||
|
Reference in New Issue
Block a user