Commit fa2450a4 authored by jehan's avatar jehan
Browse files

fix crash in search bar on ios

parent e9a88353
......@@ -375,9 +375,11 @@ list<SearchResult> MagicSearch::searchInFriend(const LinphoneFriend *lFriend, co
phoneNumber = number;
if (proxy) {
char * buff = linphone_proxy_config_normalize_phone_number(proxy, phoneNumber.c_str());
if (buff) {
phoneNumber = buff;
bctbx_free(buff);
}
}
unsigned int weightNumber = getWeight(phoneNumber.c_str(), filter);
if (presence) {
char *contact = linphone_presence_model_get_contact(presence);
......
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