mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 21:58:08 +00:00
fix(call): avoid crash in sal_op_set_and_clean_contact_address
This commit is contained in:
parent
f755d8bee8
commit
14d74d7529
1 changed files with 1 additions and 1 deletions
|
|
@ -5020,7 +5020,7 @@ void linphone_call_set_contact_op(LinphoneCall* call) {
|
|||
contact=get_fixed_contact(call->core,call,call->dest_proxy);
|
||||
sal_op_set_and_clean_contact_address(
|
||||
call->op,
|
||||
(SalAddress *)L_GET_PRIVATE_FROM_C_STRUCT(contact, Address)->getInternalAddress()
|
||||
contact ? (SalAddress *)L_GET_PRIVATE_FROM_C_STRUCT(contact, Address)->getInternalAddress() : nullptr
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue