Reviewed by Jessie Berlin.
* PluginProcess/mac/PluginProcessMainMac.mm:
(WebKit::PluginProcessMain): alloc/init an NSDictionary then release it, instead of leaking an autoreleased one.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114323
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-04-16 Brady Eidson <beidson@apple.com>
+
+ <rdar://problem/11238965> Leak in Plugin Process when launched 32-bit
+
+ Reviewed by Jessie Berlin.
+
+ * PluginProcess/mac/PluginProcessMainMac.mm:
+ (WebKit::PluginProcessMain): alloc/init an NSDictionary then release it, instead of leaking an autoreleased one.
+
2012-04-16 Anders Carlsson <andersca@apple.com>
Nightly Back/Forward no longer calls plug-in's NPP_NewStream
WKSetDefaultLocalization(cfLocalization.get());
#if defined(__i386__)
- NSDictionary *defaults = [NSDictionary dictionaryWithObject:[NSNumber numberWithBool:YES] forKey:@"AppleMagnifiedMode"];
+ NSDictionary *defaults = [[NSDictionary alloc] initWithObjectsAndKeys:[NSNumber numberWithBool:YES], @"AppleMagnifiedMode", nil];
[[NSUserDefaults standardUserDefaults] registerDefaults:defaults];
+ [defaults release];
#endif
#if !SHOW_CRASH_REPORTER