* pinfo.cc (winpids::release): Fix typo.

This commit is contained in:
Christopher Faylor 2005-12-22 05:11:44 +00:00
parent f3ea02b1cf
commit 67cd42db4c
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-12-22 Christopher Faylor <cgf@timesys.com>
* pinfo.cc (winpids::release): Fix typo.
2005-12-21 Christopher Faylor <cgf@timesys.com>
* pinfo.cc (pinfo::init): Clarify comment slightly.

View File

@ -1313,11 +1313,11 @@ winpids::release ()
for (unsigned i = 0; i < npids; i++)
if (pinfolist[i] == (_pinfo *) myself)
continue;
else if (pinfolist[i].hProc)
else if (pinfolist[i].hProcess)
{
if (pinfolist[i])
pinfolist[i].release ();
CloseHandle (pinfolist[i].hProc);
CloseHandle (pinfolist[i].hProcess);
}
else if ((p = pinfolist[i]))
{