Changeset 184004 in webkit
- Timestamp:
- May 8, 2015, 12:07:01 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/Launcher/mac/ProcessLauncherMac.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r183999 r184004 1 2015-05-08 Anders Carlsson <andersca@apple.com> 2 3 Fix ProcessLauncher port leak 4 https://bugs.webkit.org/show_bug.cgi?id=144807 5 rdar://problem/20593291 6 7 Reviewed by Sam Weinig. 8 9 * UIProcess/Launcher/mac/ProcessLauncherMac.mm: 10 (WebKit::connectToService): 11 xpc_dictionary_set_mach_send increments the send right count so make sure to 12 balance it with a call to mach_port_deallocate. 13 1 14 2015-05-08 Beth Dakin <bdakin@apple.com> 2 15 -
trunk/Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm
r183209 r184004 258 258 xpc_dictionary_set_string(bootstrapMessage.get(), "message-name", "bootstrap"); 259 259 xpc_dictionary_set_string(bootstrapMessage.get(), "framework-executable-path", [[[NSBundle bundleWithIdentifier:@"com.apple.WebKit"] executablePath] fileSystemRepresentation]); 260 260 261 xpc_dictionary_set_mach_send(bootstrapMessage.get(), "server-port", listeningPort); 262 mach_port_deallocate(mach_task_self(), listeningPort); 263 261 264 xpc_dictionary_set_string(bootstrapMessage.get(), "client-identifier", clientIdentifier.data()); 262 265 xpc_dictionary_set_string(bootstrapMessage.get(), "ui-process-name", [[[NSProcessInfo processInfo] processName] UTF8String]);
Note:
See TracChangeset
for help on using the changeset viewer.