Skip to content

Commit

Permalink
Manage SecKeychainItemRef in EMKeychain destructor (via maccheck)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Irons authored and Nathaniel Irons committed Sep 5, 2009
1 parent f643d43 commit 2a38b05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EMKeychain.m
Expand Up @@ -107,6 +107,7 @@ - (BOOL)setLabel:(NSString *)newLabel {
return [self modifyAttributeWithTag:kSecLabelItemAttr toBeString:newLabel];
}
- (void)dealloc {
if (coreKeychainItem) CFRelease(coreKeychainItem);
[myPassword release];
[myUsername release];
[myLabel release];
Expand Down

0 comments on commit 2a38b05

Please sign in to comment.