Skip to content
Browse files

rm autorelease to work with ARC.

  • Loading branch information...
1 parent bd79aa4 commit 4c7c8dca6ac9e2d2a206f68733efec2d9bf377ae @fannheyward fannheyward committed Nov 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 EGOCache.m
View
2 EGOCache.m
@@ -303,7 +303,7 @@ - (void)setImage:(UIImage*)anImage forKey:(NSString*)key withTimeoutInterval:(NS
#else
- (NSImage*)imageForKey:(NSString*)key {
- return [[[NSImage alloc] initWithData:[self dataForKey:key]] autorelease];
+ return [[NSImage alloc] initWithData:[self dataForKey:key]];
}
- (void)setImage:(NSImage*)anImage forKey:(NSString*)key {

0 comments on commit 4c7c8dc

Please sign in to comment.
Something went wrong with that request. Please try again.