Permalink
Browse files

Add missing setting store release, use ivar instead of calling the pr…

…opery getter when releasing
  • Loading branch information...
1 parent 03482e7 commit 01971336b7730000ac3e2ee3150ade730f391ae0 Marc-Etienne M.Léveillé committed Nov 23, 2010
@@ -227,7 +227,8 @@ - (void)dealloc {
[_currentFirstResponder release];
_currentFirstResponder = nil;
- self.settingsReader = nil;
+ [_settingsReader release];
+ [_settingsStore release];
_delegate = nil;
[super dealloc];
@@ -101,7 +101,7 @@ - (void)viewDidUnload {
- (void)dealloc {
[_currentSpecifier release];
[_settingsReader release];
- [self.settingsStore release];
+ [_settingsStore release];
[super dealloc];
}

0 comments on commit 0197133

Please sign in to comment.