mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 11:16:11 +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();
|
PPROCESSINFO Win32Process = PsGetCurrentProcessWin32Process();
|
||||||
|
|
||||||
|
if (!Win32Process)
|
||||||
|
return;
|
||||||
|
|
||||||
if (bDoLock)
|
if (bDoLock)
|
||||||
IntLockProcessPrivateFonts(Win32Process);
|
IntLockProcessPrivateFonts(Win32Process);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue