projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b23e21a
)
[WIN32K:NTUSER] Fix reference leak
author
Thomas Faber
<thomas.faber@reactos.org>
Mon, 3 Jan 2022 18:23:57 +0000
(13:23 -0500)
committer
Thomas Faber
<thomas.faber@reactos.org>
Mon, 3 Jan 2022 18:25:09 +0000
(13:25 -0500)
win32ss/user/ntuser/ntstubs.c
patch
|
blob
|
history
diff --git
a/win32ss/user/ntuser/ntstubs.c
b/win32ss/user/ntuser/ntstubs.c
index
ddf9ba0
..
015f8e3
100644
(file)
--- a/
win32ss/user/ntuser/ntstubs.c
+++ b/
win32ss/user/ntuser/ntstubs.c
@@
-513,7
+513,10
@@
NtUserCreateInputContext(ULONG_PTR dwClientImcData)
pIMC = UserCreateInputContext(dwClientImcData);
if (pIMC)
+ {
ret = UserHMGetHandle(pIMC);
+ UserDereferenceObject(pIMC);
+ }
Quit:
UserLeave();