This wasn't *really* a leak, but this makes the static analyzer happy and is cleaner, anyway.
authorboredzo
Sun Jul 06 17:12:11 2008 +0000 (2008-07-06)
changeset 4140ab8742429e22
parent 4139 442ca737bbcb
child 4141 494e5044075d
This wasn't *really* a leak, but this makes the static analyzer happy and is cleaner, anyway.
StatusItem/Source/GrowlMenu.m
     1.1 --- a/StatusItem/Source/GrowlMenu.m	Sun Jul 06 17:07:42 2008 +0000
     1.2 +++ b/StatusItem/Source/GrowlMenu.m	Sun Jul 06 17:12:11 2008 +0000
     1.3 @@ -34,7 +34,7 @@
     1.4  	NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
     1.5  	[NSApplication sharedApplication];
     1.6  
     1.7 -	GrowlMenu *menu = [[GrowlMenu alloc] init];
     1.8 +	GrowlMenu *menu = [[[GrowlMenu alloc] init] autorelease];
     1.9  	[NSApp setDelegate:menu];
    1.10  	[NSApp run];
    1.11