mirror of
https://github.com/reactos/reactos.git
synced 2024-07-05 12:15:46 +00:00
dereference processes when enumerating them was cancelled. Accidently removed that.
svn path=/trunk/; revision=14060
This commit is contained in:
parent
437f357dd1
commit
666973de7f
|
@ -677,6 +677,11 @@ QSI_DEF(SystemProcessInformation)
|
|||
pCur = pCur + curSize + inLen;
|
||||
} while ((pr != syspr) && (pr != NULL));
|
||||
|
||||
if(pr != NULL)
|
||||
{
|
||||
ObDereferenceObject(pr);
|
||||
}
|
||||
|
||||
*ReqSize = ovlSize;
|
||||
return (STATUS_SUCCESS);
|
||||
}
|
||||
|
@ -860,6 +865,11 @@ QSI_DEF(SystemHandleInformation)
|
|||
break;
|
||||
} while ((pr != syspr) && (pr != NULL));
|
||||
|
||||
if(pr != NULL)
|
||||
{
|
||||
ObDereferenceObject(pr);
|
||||
}
|
||||
|
||||
DPRINT("SystemHandleInformation 2\n");
|
||||
|
||||
curSize = sizeof(SYSTEM_HANDLE_INFORMATION)+
|
||||
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue