mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-25 14:06:27 +00:00
Fix potential deadlock in asterisk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3200,6 +3200,7 @@ static int attempt_transfer(struct zt_pvt *p)
|
||||
ast_log(LOG_DEBUG, "Neither %s nor %s are in a bridge, nothing to transfer\n",
|
||||
p->subs[SUB_REAL].owner->name, p->subs[SUB_THREEWAY].owner->name);
|
||||
p->subs[SUB_THREEWAY].owner->_softhangup |= AST_SOFTHANGUP_DEV;
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user