diff options
Diffstat (limited to 'macosx/PcsxrMemCardController.m')
| -rwxr-xr-x | macosx/PcsxrMemCardController.m | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/macosx/PcsxrMemCardController.m b/macosx/PcsxrMemCardController.m index 00d77ca7..24cba060 100755 --- a/macosx/PcsxrMemCardController.m +++ b/macosx/PcsxrMemCardController.m @@ -25,8 +25,6 @@ @synthesize memCard1Array, memCard2Array; -//memCard1Array KVO functions - - (void)setupValues:(int)theCards { NSParameterAssert(theCards < 4 && theCards > 0); @@ -244,11 +242,14 @@ [[NSNotificationCenter defaultCenter] removeObserver:self]; [imageAnimateTimer invalidate]; - RELEASEOBJ(imageAnimateTimer); - RELEASEOBJ(memCard1Array); - RELEASEOBJ(memCard2Array); +#if !__has_feature(objc_arc) + + [imageAnimateTimer release]; + self.memCard1Array = nil; + self.memCard2Array = nil; - SUPERDEALLOC; + [super dealloc]; +#endif } @end |
