mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 04:08:29 +00:00
don't deref NULL pointer
svn path=/trunk/; revision=34439
This commit is contained in:
parent
8b47005e1a
commit
a267c40f5b
|
@ -1149,7 +1149,8 @@ IntUnlinkWindow(PWINDOW_OBJECT Wnd)
|
|||
WndParent->FirstChild = Wnd->NextSibling;
|
||||
|
||||
Wnd->PrevSibling = Wnd->NextSibling = Wnd->Parent = NULL;
|
||||
Wnd->Wnd->Parent = NULL;
|
||||
if (Wnd->Wnd)
|
||||
Wnd->Wnd->Parent = NULL;
|
||||
}
|
||||
|
||||
BOOL FASTCALL
|
||||
|
|
Loading…
Reference in a new issue