summaryrefslogtreecommitdiff
path: root/macosx/PcsxrMemCardController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/PcsxrMemCardController.m')
-rw-r--r--macosx/PcsxrMemCardController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/PcsxrMemCardController.m b/macosx/PcsxrMemCardController.m
index 0b594e71..0fc44a90 100644
--- a/macosx/PcsxrMemCardController.m
+++ b/macosx/PcsxrMemCardController.m
@@ -45,9 +45,9 @@ static NSImage *imageFromMcd(short * icon)
#endif
NSImage *theImage = [[NSImage alloc] init];
[theImage addRepresentation:imageRep];
+ [imageRep release];
[theImage setScalesWhenResized:YES];
[theImage setSize:NSMakeSize(32, 32)];
- [imageRep release];
return [theImage autorelease];
}