mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:13:06 +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;
|
ULONG ulIndex, ulOwner;
|
||||||
|
|
||||||
|
if (hobj == NULL)
|
||||||
|
{
|
||||||
|
DPRINT("GreGetObjectOwner: invalid NULL handle\n");
|
||||||
|
return GDI_OBJ_HMGR_RESTRICTED;
|
||||||
|
}
|
||||||
|
|
||||||
/* Get the handle index */
|
/* Get the handle index */
|
||||||
ulIndex = GDI_HANDLE_GET_INDEX(hobj);
|
ulIndex = GDI_HANDLE_GET_INDEX(hobj);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue