mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
fix crash in search bar on ios
This commit is contained in:
parent
e9a88353a0
commit
fa2450a42b
1 changed files with 4 additions and 2 deletions
|
|
@ -375,8 +375,10 @@ list<SearchResult> MagicSearch::searchInFriend(const LinphoneFriend *lFriend, co
|
|||
phoneNumber = number;
|
||||
if (proxy) {
|
||||
char * buff = linphone_proxy_config_normalize_phone_number(proxy, phoneNumber.c_str());
|
||||
phoneNumber = buff;
|
||||
bctbx_free(buff);
|
||||
if (buff) {
|
||||
phoneNumber = buff;
|
||||
bctbx_free(buff);
|
||||
}
|
||||
}
|
||||
unsigned int weightNumber = getWeight(phoneNumber.c_str(), filter);
|
||||
if (presence) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue