Commits

evands  committed 9ae9e7c

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

  • Participants
  • Parent commits 157225f
  • Branches default

Comments (0)

Files changed (1)

File 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 {