mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Fix probable crash.
This commit is contained in:
parent
1a791f0d8c
commit
e6f58de87e
1 changed files with 2 additions and 0 deletions
|
|
@ -1439,6 +1439,8 @@ const LinphoneAddress *linphone_proxy_config_get_contact (const LinphoneProxyCon
|
|||
}
|
||||
|
||||
// Warning : Do not remove, the op can change its contact_address
|
||||
if (!cfg->op)
|
||||
return NULL;
|
||||
const SalAddress *salAddr = cfg->op->get_contact_address();
|
||||
if (!salAddr)
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue