mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
dereference processes when enumerating them was cancelled. Accidently removed that.
svn path=/trunk/; revision=14060
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user