mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
[WIN32K:NTUSER] Fix reference leak
This commit is contained in:
parent
b23e21a03e
commit
2a2f8dbebd
|
@ -513,7 +513,10 @@ NtUserCreateInputContext(ULONG_PTR dwClientImcData)
|
|||
|
||||
pIMC = UserCreateInputContext(dwClientImcData);
|
||||
if (pIMC)
|
||||
{
|
||||
ret = UserHMGetHandle(pIMC);
|
||||
UserDereferenceObject(pIMC);
|
||||
}
|
||||
|
||||
Quit:
|
||||
UserLeave();
|
||||
|
|
Loading…
Reference in a new issue