Fixed a small memory leak in PreferencesController and keychain access.
[MenuTunes.git] / MenuController.m
index 36b112b..ea2e1a8 100755 (executable)
         if (numSongs > 0) {
             int i;
             for (i = _currentTrack + 1; i <= _currentTrack + numSongsInAdvance && i <= numSongs; i++) {
         if (numSongs > 0) {
             int i;
             for (i = _currentTrack + 1; i <= _currentTrack + numSongsInAdvance && i <= numSongs; i++) {
-                               BOOL enabled;
+                               BOOL enabled = YES;
                                
                                //Check if the song at this index is enabled for playback. If it isn't, skip over it
                                NS_DURING
                                
                                //Check if the song at this index is enabled for playback. If it isn't, skip over it
                                NS_DURING