mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
[WIN32K]
Don't access the PROCESSINFO after freeing it. svn path=/trunk/; revision=57968
This commit is contained in:
parent
843b797533
commit
03b4a49cb0
|
@ -226,16 +226,16 @@ Win32kProcessCallback(struct _EPROCESS *Process,
|
|||
*pppi = ppiCurrent->ppiNext;
|
||||
|
||||
TRACE_CH(UserProcess,"Freeing ppi 0x%p\n", ppiCurrent);
|
||||
|
||||
/* Ftee the PROCESSINFO */
|
||||
PsSetProcessWin32Process(Process, NULL);
|
||||
ExFreePoolWithTag(ppiCurrent, USERTAG_PROCESSINFO);
|
||||
#if DBG
|
||||
if (DBG_IS_CHANNEL_ENABLED(ppiCurrent, DbgChUserObj, WARN_LEVEL))
|
||||
{
|
||||
DbgUserDumpHandleTable();
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Free the PROCESSINFO */
|
||||
PsSetProcessWin32Process(Process, NULL);
|
||||
ExFreePoolWithTag(ppiCurrent, USERTAG_PROCESSINFO);
|
||||
}
|
||||
|
||||
RETURN( STATUS_SUCCESS);
|
||||
|
|
Loading…
Reference in a new issue