mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 00:29:21 +00:00
fix crash
This commit is contained in:
parent
e46417d209
commit
af47cd4e8c
1 changed files with 2 additions and 1 deletions
|
|
@ -262,7 +262,8 @@ static void linphone_friend_list_parse_multipart_related_body(LinphoneFriendList
|
|||
uri = linphone_get_xml_text_content(xml_ctx, xpath_str);
|
||||
if (uri == NULL) continue;
|
||||
addr = linphone_address_new(uri);
|
||||
lf = addr ? linphone_friend_list_find_friend_by_address(list, addr) : NULL;
|
||||
if (!addr) continue;
|
||||
lf = linphone_friend_list_find_friend_by_address(list, addr);
|
||||
linphone_address_unref(addr);
|
||||
if (lf != NULL) {
|
||||
const char *state = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue