mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix crash with referred call.
This commit is contained in:
parent
fc7b881660
commit
551cb0c775
1 changed files with 0 additions and 1 deletions
|
|
@ -124,7 +124,6 @@ shared_ptr<Call> CallPrivate::startReferredCall (const MediaSessionParams *param
|
|||
L_GET_PRIVATE(getActiveSession())->setReferPending(false);
|
||||
LinphoneCallParams *lcp = L_GET_C_BACK_PTR(&msp);
|
||||
LinphoneCall *newCall = linphone_core_invite_with_params(q->getCore()->getCCore(), q->getReferTo().c_str(), lcp);
|
||||
linphone_call_params_unref(lcp);
|
||||
if (newCall) {
|
||||
getActiveSession()->getPrivate()->setTransferTarget(L_GET_PRIVATE_FROM_C_OBJECT(newCall)->getActiveSession());
|
||||
L_GET_PRIVATE_FROM_C_OBJECT(newCall)->getActiveSession()->getPrivate()->notifyReferState();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue