mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[NTGDI] Silence some debug log spam from GreGetObjectOwner when input parameter is NULL. (#7606)
CORE-19962 Co-authored-by: Timo Kreuzer <[email protected]>
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