mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-31 02:09:22 +00:00
[CNContact] fix crash memory issue
This commit is contained in:
parent
72b0d22deb
commit
8b31a23379
3 changed files with 4 additions and 5 deletions
|
|
@ -129,7 +129,8 @@
|
|||
}
|
||||
|
||||
- (void) fetchContactsInBackGroundThread{
|
||||
|
||||
[_addressBookMap removeAllObjects];
|
||||
_addressBookMap = [NSMutableDictionary dictionary];
|
||||
CNEntityType entityType = CNEntityTypeContacts;
|
||||
[store requestAccessForEntityType:entityType completionHandler:^(BOOL granted, NSError *_Nullable error) {
|
||||
BOOL success = FALSE;
|
||||
|
|
@ -204,9 +205,7 @@
|
|||
}else{
|
||||
// Dosomte
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
if (normalizedPhone)
|
||||
ms_free(normalizedPhone);
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 20efb4ad41357daf700fa393dbcae9fdb3ab2730
|
||||
Subproject commit 2b3d4ae3cfaf82e286fe16d8ae0bac57d7abf1a7
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 3f94be991d4d7cf1f2e869e457c1a95eb9d518a5
|
||||
Subproject commit 16ee1217a9725bcde21ee5cd375da769b0177e38
|
||||
Loading…
Add table
Reference in a new issue