mirror of
https://github.com/reactos/reactos.git
synced 2026-06-09 01:12:59 +08: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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user