Skip to content

Commit

Permalink
Commit f204e5f from @neurolepsy
Browse files Browse the repository at this point in the history
Fixed a crash with an unretained image. Fixes #500
  • Loading branch information
pjrobertson committed Oct 20, 2011
1 parent d8b4bdc commit 7147626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quicksilver/Code-QuickStepInterface/QSObjectCell.m
Expand Up @@ -545,7 +545,7 @@ - (void)drawTextForObject:(QSObject *)drawObject withFrame:(NSRect)cellFrame inV
}

- (void)drawObjectImage:(QSObject *)drawObject inRect:(NSRect)drawingRect cellFrame:(NSRect)cellFrame controlView:(NSView *)controlView flipped:(BOOL)flipped opacity:(float)opacity {
NSImage *icon = [drawObject icon];
NSImage *icon = [[[drawObject icon] retain] autorelease];
NSImage *cornerBadge = nil;
// NSLog(@"icon");
BOOL proxyDraw = [[icon name] isEqualToString:QSDirectObjectIconProxy];
Expand Down

0 comments on commit 7147626

Please sign in to comment.