mirror of
https://github.com/reactos/reactos.git
synced 2025-03-01 03:45:16 +00:00
[NTGDI] Silence some debug log spam from GreGetObjectOwner when input parameter is NULL. (#7606)
CORE-19962 Co-authored-by: Timo Kreuzer <timo.kreuzer@reactos.org>
This commit is contained in:
parent
fcbcaa10a7
commit
b1257cefe1
1 changed files with 6 additions and 0 deletions
|
@ -1193,6 +1193,12 @@ GreGetObjectOwner(HGDIOBJ hobj)
|
|||
{
|
||||
ULONG ulIndex, ulOwner;
|
||||
|
||||
if (hobj == NULL)
|
||||
{
|
||||
DPRINT("GreGetObjectOwner: invalid NULL handle\n");
|
||||
return GDI_OBJ_HMGR_RESTRICTED;
|
||||
}
|
||||
|
||||
/* Get the handle index */
|
||||
ulIndex = GDI_HANDLE_GET_INDEX(hobj);
|
||||
|
||||
|
|
Loading…
Reference in a new issue