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:
timeless%mozdev.org
2006-09-22 07:43:07 +00:00
parent aaf9caf107
commit 8f52b68bd9

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;