mirror of
https://github.com/reactos/reactos.git
synced 2024-06-26 07:51:52 +00:00
[WIN32K:NTUSER] Fix one more reference leak
Addendum tod5deacd9
and2a2f8dbe
. CORE-11700
This commit is contained in:
parent
a4b2c80853
commit
27955da7ee
|
@ -654,7 +654,11 @@ InitThreadCallback(PETHREAD Thread)
|
|||
/* Create the default input context */
|
||||
if (IS_IMM_MODE())
|
||||
{
|
||||
UserCreateInputContext(0);
|
||||
PIMC pIMC = UserCreateInputContext(0);
|
||||
if (pIMC)
|
||||
{
|
||||
UserDereferenceObject(pIMC);
|
||||
}
|
||||
}
|
||||
|
||||
/* Last things to do only if we are not a SYSTEM or CSRSS thread */
|
||||
|
|
Loading…
Reference in a new issue