Commit a3e599b4 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix crash when not building with vcard

parent 008892b9
......@@ -333,7 +333,7 @@ bctbx_list_t* linphone_friend_get_addresses(const LinphoneFriend *lf) {
return result;
} else {
bctbx_list_t *addresses = NULL;
return lf->uri ? bctbx_list_append(addresses, lf->uri) : NULL;
return lf->uri ? bctbx_list_append(addresses, linphone_address_clone(lf->uri)) : NULL;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment