mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 16:09:20 +00:00
Fix crash in friends handling when building with vCard disabled.
This commit is contained in:
parent
90e248875a
commit
3be8c6bd00
1 changed files with 1 additions and 1 deletions
|
|
@ -340,7 +340,7 @@ bctbx_list_t* linphone_friend_get_addresses(LinphoneFriend *lf) {
|
|||
if (sip_addresses) bctbx_list_free(sip_addresses);
|
||||
return addresses;
|
||||
} else {
|
||||
return lf->uri ? bctbx_list_append(addresses, lf->uri) : NULL;
|
||||
return lf->uri ? bctbx_list_append(addresses, linphone_address_clone(lf->uri)) : NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue