Fixed a leak found by the clang static analyzer. I have to hope this works, because I can't see a way to switch to this transition in the Growl prefpane.
authorboredzo
Sun Jul 06 16:50:35 2008 +0000 (2008-07-06)
changeset 4138942b66d1feef
parent 4137 a8b169b45c40
child 4139 442ca737bbcb
Fixed a leak found by the clang static analyzer. I have to hope this works, because I can't see a way to switch to this transition in the Growl prefpane.

Note: This is an original fix by me, not cribbed from Adium (GPL) source code.
Plugins/Displays/Animation & Transitions/Window Transitions/AWRippler.m
     1.1 --- a/Plugins/Displays/Animation & Transitions/Window Transitions/AWRippler.m	Sun Jul 06 16:43:51 2008 +0000
     1.2 +++ b/Plugins/Displays/Animation & Transitions/Window Transitions/AWRippler.m	Sun Jul 06 16:50:35 2008 +0000
     1.3 @@ -185,7 +185,7 @@
     1.4  	[win setBackgroundColor:[NSColor clearColor]];
     1.5  	[win setOpaque:NO];
     1.6  	[win setHasShadow:NO];
     1.7 -	[win setContentView:[[AWRippleView alloc] initWithFrame:[win frame]]];
     1.8 +	[win setContentView:[[[AWRippleView alloc] initWithFrame:[win frame]] autorelease]];
     1.9  	
    1.10  	[win orderFrontRegardless];
    1.11      [rippleWindow orderWindow:NSWindowAbove relativeTo:[win windowNum]];