Fix leak of dock image.

CQTexperiment
vspader 2009-02-28 22:28:37 -08:00
parent 1805393e20
commit 4dacefe989
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ static NSString *DockIconPlaybackStatusObservationContext = @"DockIconPlaybackSt
[badgeImage drawInRect:NSMakeRect(92, 24, badgeSize.width,badgeSize.height) fromRect:NSMakeRect(0, 0, badgeSize.width, badgeSize.height) operation:NSCompositeSourceOver fraction:1.0];
[newDockImage unlockFocus];
[NSApp setApplicationIconImage:newDockImage];
[newDockImage release];
}
else
{