Bug 342671 Leaking process information handle in nsProcessCommon.cpp
patch by David.R.Gardiner@gmail.com r=timeless r=dougt git-svn-id: svn://10.0.0.236/trunk@212153 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user