mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 16:49:20 +00:00
Fix crash in linphone_proxy_config_set_identity().
This commit is contained in:
parent
5e8c64cf6c
commit
c364aaf144
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ int linphone_proxy_config_set_identity(LinphoneProxyConfig *cfg, const char *ide
|
|||
if (identity!=NULL && strlen(identity)>0){
|
||||
LinphoneAddress *addr=linphone_address_new(identity);
|
||||
int ret=linphone_proxy_config_set_identity_address(cfg, addr);
|
||||
linphone_address_destroy(addr);
|
||||
if (addr) linphone_address_destroy(addr);
|
||||
return ret;
|
||||
}
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue