diff options
-rw-r--r-- | cocoa/InfoBar.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/InfoBar.mm b/cocoa/InfoBar.mm index d3acf0097..5561bb059 100644 --- a/cocoa/InfoBar.mm +++ b/cocoa/InfoBar.mm @@ -88,7 +88,7 @@ NSBundle* bundle = [NSBundle bundleForClass: [InfoBar class]]; NSString* path = [bundle pathForResource: @"info_bar_bg" ofType: @"png" inDirectory: nil]; - mBackground = [[[NSImage alloc] initWithContentsOfFile: path] retain]; + mBackground = [[NSImage alloc] initWithContentsOfFile: path]; if (![mBackground isValid]) NSLog(@"Background image for info bar is invalid."); |