mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
FastAddressBook.m: (temp fix) use __bridge instead of CFBridgingRelease to avoid random bad access crash - we should drop the whole FAB though
This commit is contained in:
parent
4466a132a4
commit
2e981edf27
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ static void sync_address_book (ABAddressBookRef addressBook, CFDictionaryRef inf
|
|||
@synchronized (addressBookMap) {
|
||||
[addressBookMap removeAllObjects];
|
||||
|
||||
NSArray *lContacts = (NSArray *)CFBridgingRelease(ABAddressBookCopyArrayOfAllPeople(addressBook));
|
||||
NSArray *lContacts = (__bridge NSArray *)ABAddressBookCopyArrayOfAllPeople(addressBook);
|
||||
for (id lPerson in lContacts) {
|
||||
// Phone
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue