mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 13:01:40 +00:00
[CONSRV] SetConWndConsoleLeaderCID(): Check must be before dereferencing (#3451)
Addendum to f12e601
.
This commit is contained in:
parent
e46c2dd1b3
commit
cb5d610a73
1 changed files with 1 additions and 1 deletions
|
@ -51,8 +51,8 @@ SetConWndConsoleLeaderCID(IN PGUI_CONSOLE_DATA GuiData)
|
|||
|
||||
ProcessData = ConSrvGetConsoleLeaderProcess(GuiData->Console);
|
||||
|
||||
DPRINT("ProcessData: %p, ProcessData->Process %p.\n", ProcessData, ProcessData->Process);
|
||||
ASSERT(ProcessData != NULL);
|
||||
DPRINT("ProcessData: %p, ProcessData->Process %p.\n", ProcessData, ProcessData->Process);
|
||||
|
||||
if (ProcessData->Process)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue