Add comments and fix a potential leak in LaunchProcess.

I found a need to look at the implementation to confirm that process_handle would never be assigned to if the call failed. So I added a comment for future readers.

While doing so, I found an edge case where I think the process handle could be leaked.

BUG=None
TEST=Ask a random developer whether they must check process_handle if LaunchProcess returns false. If they look at process_util_*.cc, fail.


Review URL: http://codereview.chromium.org/9689081

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126890 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 0148e6e18bfb076a51afb7be575c260248ed06aa
1 file changed
tree: 3d10a7bfa6cb17b33f09d26b562f5b6b54fc7853
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/