Don't delete TargetProcess with SpawnCleanup.
commitd1013d8e0f9987b31b57d70998e860f11d0cb3d2
authorvitalybuka <vitalybuka@chromium.org>
Fri, 22 May 2015 14:46:06 +0000 (22 07:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 22 May 2015 14:46:47 +0000 (22 14:46 +0000)
treeca94e293de9da2eadfb0c07dc6e2d2be64e63d41
parent8fb3b60feb9bee2d3b16f5c21a0c77e3e0f13c8c
Don't delete TargetProcess with SpawnCleanup.

If AssociateCompletionPort fails, BrokerServicesBase::SpawnTarget
returns with SpawnCleanup trying to delete TargetProcess.
If code reaches there, TargetProcess is already owned by PolicyBase.

BUG=480639

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

Cr-Commit-Position: refs/heads/master@{#331103}
sandbox/win/src/broker_services.cc