--- a/Frameworks/AIUtilities Framework/Source/AIKeychain.m Sat Jan 28 22:43:36 2012 +0200
+++ b/Frameworks/AIUtilities Framework/Source/AIKeychain.m Sun Jan 29 00:27:00 2012 +0200
@@ -809,8 +809,11 @@
passwordString = [NSString stringWithBytes:passwordData length:passwordLength encoding:NSUTF8StringEncoding];
- SecKeychainItemFreeContent(NULL, passwordData);
+ SecKeychainItemFreeContent(NULL, passwordData); @@ -893,12 +896,12 @@
+ SecKeychainItemFreeAttributesAndData(attrList, passwordBytes); NSLog(@"Error extracting infomation from keychain item");
- SecKeychainItemFreeAttributesAndData(attrList, passwordBytes);
@@ -1221,7 +1224,10 @@
passwordString = [NSString stringWithBytes:passwordData length:passwordLength encoding:NSUTF8StringEncoding];
- SecKeychainItemFreeContent(NULL, passwordData);
+ SecKeychainItemFreeContent(NULL, passwordData);