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:
timeless%mozdev.org 2006-09-22 07:43:07 +00:00
parent cc9897a848
commit 6ef4bd247e

View File

@ -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;