mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Fix minor ordering issue (bug #981)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -630,8 +630,8 @@ int ast_hangup(struct ast_channel *chan)
|
||||
/* If this channel is one which will be masqueraded into something,
|
||||
mark it as a zombie already, so we know to free it later */
|
||||
if (chan->masqr) {
|
||||
ast_mutex_unlock(&chan->lock);
|
||||
chan->zombie=1;
|
||||
ast_mutex_unlock(&chan->lock);
|
||||
return 0;
|
||||
}
|
||||
free_translation(chan);
|
||||
|
Reference in New Issue
Block a user