mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
ContactDetailsTableViewController.m: do not use __bridge_transfer when modifiyng contact to avoid another crash
This commit is contained in:
parent
5b0971f31f
commit
2d288f3a21
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ static const ContactSections_e contactSections[ContactSections_MAX] = {ContactSe
|
|||
if (property == kABPersonInstantMessageProperty ) {
|
||||
// when we query the instanteMsg property we get a dictionary instead of a value
|
||||
toRelease = valueRef;
|
||||
value = (__bridge_transfer NSString*)CFDictionaryGetValue(valueRef, kABPersonInstantMessageUsernameKey);
|
||||
value = CFDictionaryGetValue(valueRef, kABPersonInstantMessageUsernameKey);
|
||||
} else {
|
||||
value = (__bridge_transfer NSString*)valueRef;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue