https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2ef605d428d9057c98faa…
commit 2ef605d428d9057c98faa9e034c6b47dae520263
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Tue May 3 10:17:30 2022 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Tue May 3 10:17:30 2022 +0900
[NTUSER] Fix UserDestroyInputContet (again and again) (#4482)
Add call of UserMarkObjectDestroy.
Fix hung-up. CORE-11700
---
win32ss/user/ntuser/ime.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/win32ss/user/ntuser/ime.c b/win32ss/user/ntuser/ime.c
index 88c484dce82..966e4d0e5d0 100644
--- a/win32ss/user/ntuser/ime.c
+++ b/win32ss/user/ntuser/ime.c
@@ -1468,6 +1468,7 @@ BOOLEAN UserDestroyInputContext(PVOID Object)
if (!pIMC)
return TRUE;
+ UserMarkObjectDestroy(pIMC);
UserDeleteObject(UserHMGetHandle(pIMC), TYPE_INPUTCONTEXT);
return TRUE;
}