mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix crash
This commit is contained in:
parent
882e121be0
commit
4c3a7be941
1 changed files with 3 additions and 0 deletions
|
|
@ -73,6 +73,9 @@
|
|||
while (results) {
|
||||
LinphoneSearchResult *result = results->data;
|
||||
const LinphoneAddress* addr = linphone_search_result_get_address(result) ?: linphone_friend_get_address(linphone_search_result_get_friend(result));
|
||||
if (!addr)
|
||||
continue;
|
||||
|
||||
char *uri = linphone_address_as_string_uri_only(addr);
|
||||
NSString *address = [NSString stringWithUTF8String:uri];
|
||||
ms_free(uri);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue