Fixed two leaks found by the clang static analyzer.
1.1 --- a/Plugins/Displays/WebKit/GrowlWebKitPluginHandler.m Sun Jul 06 15:14:04 2008 +0000
1.2 +++ b/Plugins/Displays/WebKit/GrowlWebKitPluginHandler.m Sun Jul 06 16:43:51 2008 +0000
1.3 @@ -25,6 +25,7 @@
1.4 NSLog(@"%@ Failed to load: %@",NSStringFromClass([self class]),path);
1.5 return NO;
1.6 }
1.7 + [pluginBundle release];
1.8
1.9 GrowlWebKitDisplayPlugin *instance = [[GrowlWebKitDisplayPlugin alloc] initWithStyleBundle:pluginBundle];
1.10 if (!instance) {
1.11 @@ -35,6 +36,7 @@
1.12 }
1.13
1.14 [[GrowlPluginController sharedController] addPluginInstance:instance fromBundle:pluginBundle];
1.15 + [instance release];
1.16 return YES;
1.17 }
1.18