mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 17:31:23 +08:00
[WIN32K:NTUSER] Fix one more reference leak
Addendum tod5deacd9and2a2f8dbe. CORE-11700
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user