X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fwin32ss%2Fuser%2Fntuser%2Fmain.c;h=04157acb98ec8d2702fd834dc760331355c0df91;hp=27404c4eaa4a5b62467f555bfa6f0098e14d64b0;hb=03b4a49cb03c394322ee407b15a6e1fe83ee6f0e;hpb=765f09416de3925d9870a8ec2fd03767b3c6c3e7 diff --git a/reactos/win32ss/user/ntuser/main.c b/reactos/win32ss/user/ntuser/main.c index 27404c4eaa4..04157acb98e 100644 --- a/reactos/win32ss/user/ntuser/main.c +++ b/reactos/win32ss/user/ntuser/main.c @@ -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);