mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Fix crash on FastAddressBook dealloc
This commit is contained in:
parent
42a5d4b088
commit
0722931582
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ void sync_address_book (ABAddressBookRef addressBook, CFDictionaryRef info, void
|
|||
-(id) initWithRecord:(ABRecordRef) aRecord ofType:(NSString*) type {
|
||||
if ((self = [super init])) {
|
||||
record=CFRetain(aRecord);
|
||||
numberType= type?[type retain]:@"unkown";
|
||||
numberType= [type?type:@"unknown" retain];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue