Commit b533d653 authored by jbauman's avatar jbauman Committed by Commit bot

Fix sandbox IPC shared memory leak.

This was leaking 64KB for every sandboxed process that exitted.

BUG=445669

Review URL: https://codereview.chromium.org/831423002

Cr-Commit-Position: refs/heads/master@{#310201}
parent daa98d03
......@@ -59,6 +59,9 @@ SharedMemIPCServer::~SharedMemIPCServer() {
::CloseHandle(context->pong_event);
delete context;
}
if (client_control_)
::UnmapViewOfFile(client_control_);
}
bool SharedMemIPCServer::Init(void* shared_mem, uint32 shared_size,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment