git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a small memory leak in PreferencesController and keychain access.
[MenuTunes.git]
/
PreferencesController.m
diff --git
a/PreferencesController.m
b/PreferencesController.m
index
87181d4
..
0a796dc
100755
(executable)
--- a/
PreferencesController.m
+++ b/
PreferencesController.m
@@
-189,6
+189,7
@@
static PreferencesController *prefs = nil;
if (status != noErr) {
ITDebugLog(@"Audioscrobbler: Error deleting keychain item: %i", status);
}
+ SecKeychainItemFreeContent(NULL, buffer);
CFRelease(item);
}
NSLog(@"Audioscrobbler: Retrieved password: \"%@\"", pass);