mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 18:01:07 +00:00
[NtUser]
- Fix crash in User32:win:test_winproc_handles. See CORE-11368. svn path=/trunk/; revision=71916
This commit is contained in:
parent
edd88125ab
commit
dc9ad2ee45
|
@ -50,7 +50,7 @@ CreateCallProc(IN PDESKTOP Desktop,
|
|||
}
|
||||
|
||||
/* Release the extra reference (UserCreateObject added 2 references) */
|
||||
UserDereferenceObject(NewCallProc);
|
||||
if (NewCallProc != NULL) UserDereferenceObject(NewCallProc);
|
||||
|
||||
return NewCallProc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue