[WIN32K:NTUSER] Fix reference leak

This commit is contained in:
Thomas Faber 2022-01-03 13:23:57 -05:00
parent b23e21a03e
commit 2a2f8dbebd
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -513,7 +513,10 @@ NtUserCreateInputContext(ULONG_PTR dwClientImcData)
pIMC = UserCreateInputContext(dwClientImcData);
if (pIMC)
{
ret = UserHMGetHandle(pIMC);
UserDereferenceObject(pIMC);
}
Quit:
UserLeave();