Commits

Peter Hosey committed 4ec3953

Fix a leak in this BeepHammer -awakeFromNib method.

Comments (0)

Files changed (1)

Developer Tools/BeepHammer/BeepController.m

 	[GrowlApplicationBridge setGrowlDelegate:self];
 	
 #pragma mark This is a cheap hack to work with the preference
-	NSDictionary *prefsDict = [[NSDictionary alloc] initWithContentsOfFile:GROWL_PREFS_PATH];
+	NSDictionary *prefsDict = [NSDictionary dictionaryWithContentsOfFile:GROWL_PREFS_PATH];
 	[growlLoggingButton setState:[[prefsDict valueForKey:@"GrowlLoggingEnabled"] intValue]];
 }