From 2d288f3a215be40e8baaecd528c97402dce0806c Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Mon, 8 Jun 2015 11:30:17 +0200 Subject: [PATCH] ContactDetailsTableViewController.m: do not use __bridge_transfer when modifiyng contact to avoid another crash --- Classes/ContactDetailsTableViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/ContactDetailsTableViewController.m b/Classes/ContactDetailsTableViewController.m index 8079ea9f6..35de003e3 100644 --- a/Classes/ContactDetailsTableViewController.m +++ b/Classes/ContactDetailsTableViewController.m @@ -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; }