Fix potential deadlock in asterisk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6321 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
12356e59f1
commit
669088c502
|
@ -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