mirror of
https://github.com/reactos/reactos.git
synced 2026-05-27 03:10:56 +08:00
[WIN32K:NTUSER] Fix reference leak
This commit is contained in:
@@ -513,7 +513,10 @@ NtUserCreateInputContext(ULONG_PTR dwClientImcData)
|
||||
|
||||
pIMC = UserCreateInputContext(dwClientImcData);
|
||||
if (pIMC)
|
||||
{
|
||||
ret = UserHMGetHandle(pIMC);
|
||||
UserDereferenceObject(pIMC);
|
||||
}
|
||||
|
||||
Quit:
|
||||
UserLeave();
|
||||
|
||||
Reference in New Issue
Block a user