mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[FONT][WIN32SS] Check whether Win32Process is NULL
CORE-15031
This commit is contained in:
parent
7cdbdadf34
commit
bac15d86bb
1 changed files with 3 additions and 0 deletions
|
@ -426,6 +426,9 @@ VOID DumpPrivateFontList(BOOL bDoLock)
|
|||
{
|
||||
PPROCESSINFO Win32Process = PsGetCurrentProcessWin32Process();
|
||||
|
||||
if (!Win32Process)
|
||||
return;
|
||||
|
||||
if (bDoLock)
|
||||
IntLockProcessPrivateFonts(Win32Process);
|
||||
|
||||
|
|
Loading…
Reference in a new issue