mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 342671 Leaking process information handle in nsProcessCommon.cpp
patch by David.R.Gardiner@gmail.com r=timeless r=dougt
This commit is contained in:
parent
cc9897a848
commit
6ef4bd247e
@ -287,6 +287,7 @@ nsProcess::Run(PRBool blocking, const char **args, PRUint32 count,
|
||||
}
|
||||
mExitValue = exitCode;
|
||||
CloseHandle(procInfo.hProcess);
|
||||
CloseHandle(procInfo.hThread);
|
||||
}
|
||||
else
|
||||
status = PR_FAILURE;
|
||||
|
Loading…
Reference in New Issue
Block a user