projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- don't return without UserLeave, should fix user32:input winetest crash
[reactos.git]
/
reactos
/
subsystems
/
win32
/
win32k
/
ntuser
/
ntstubs.c
diff --git
a/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
b/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
index
dd8bd66
..
e7d573b
100644
(file)
--- a/
reactos/subsystems/win32/win32k/ntuser/ntstubs.c
+++ b/
reactos/subsystems/win32/win32k/ntuser/ntstubs.c
@@
-309,6
+309,7
@@
NtUserGetMouseMovePointsEx(
if ((cbSize != sizeof(MOUSEMOVEPOINT)) || (nBufPoints < 0) || (nBufPoints > 64))
{
+ UserLeave();
SetLastWin32Error(ERROR_INVALID_PARAMETER);
return -1;
}