Closed rocbird closed 12 years ago
Xcode complains that TwitterDemo has leak in -removeOAuthTokenFromKeychain , -storeOAuthTokenInKeychain and retrieveOAuthTokenFromKeychain.
It does not like this line :
SecItemDelete((__bridge_retained CFDictionaryRef) keychainQuery);
Maybe we should use these :
CFDictionaryRef query = (__bridge_retained CFDictionaryRef) keychainQuery; SecItemDelete(query); CFRelease(query);
Xcode complains that TwitterDemo has leak in -removeOAuthTokenFromKeychain , -storeOAuthTokenInKeychain and retrieveOAuthTokenFromKeychain.
It does not like this line :
SecItemDelete((__bridge_retained CFDictionaryRef) keychainQuery);
Maybe we should use these :