Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /cocoa/InfoBar.mm [72e446] .. [4164a9] Maximize Restore

  Switch to side-by-side view

--- 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.");