dereference processes when enumerating them was cancelled. Accidently removed that.

svn path=/trunk/; revision=14060
This commit is contained in:
Thomas Bluemel
2005-03-14 13:42:38 +00:00
parent 437f357dd1
commit 666973de7f
+15
View File
@@ -676,6 +676,11 @@ QSI_DEF(SystemProcessInformation)
else
pCur = pCur + curSize + inLen;
} while ((pr != syspr) && (pr != NULL));
if(pr != NULL)
{
ObDereferenceObject(pr);
}
*ReqSize = ovlSize;
return (STATUS_SUCCESS);
@@ -859,6 +864,11 @@ QSI_DEF(SystemHandleInformation)
if ((pr == syspr) || (pr == NULL))
break;
} while ((pr != syspr) && (pr != NULL));
if(pr != NULL)
{
ObDereferenceObject(pr);
}
DPRINT("SystemHandleInformation 2\n");
@@ -899,6 +909,11 @@ QSI_DEF(SystemHandleInformation)
break;
} while ((pr != syspr) && (pr != NULL));
if(pr != NULL)
{
ObDereferenceObject(pr);
}
DPRINT("SystemHandleInformation 4\n");
return (STATUS_SUCCESS);