Commits

Anonymous committed 9ae9e7c

Fixed leak of an NSDictionary in [GrowlApplicationBridge registrationDictionaryByFillingInDictionary:restrictToKeys:] pointed out by brianb on the forums. Thanks :)

Comments (0)

Files changed (1)

Framework/Source/GrowlApplicationBridge.m

 		if (![mRegDict objectForKey:GROWL_APP_ID])
 			[mRegDict setObject:(NSString *)CFBundleGetIdentifier(CFBundleGetMainBundle()) forKey:GROWL_APP_ID];
 
-	return mRegDict;
+	return [mRegDict autorelease];
 }
 
 + (NSDictionary *) notificationDictionaryByFillingInDictionary:(NSDictionary *)notifDict {