- don't return without UserLeave, should fix user32:input winetest crash

svn path=/trunk/; revision=41074
This commit is contained in:
Kamil Hornicek 2009-05-23 13:15:47 +00:00
parent 7ab0e77533
commit 997ae4dc06

View file

@ -309,6 +309,7 @@ NtUserGetMouseMovePointsEx(
if ((cbSize != sizeof(MOUSEMOVEPOINT)) || (nBufPoints < 0) || (nBufPoints > 64)) if ((cbSize != sizeof(MOUSEMOVEPOINT)) || (nBufPoints < 0) || (nBufPoints > 64))
{ {
UserLeave();
SetLastWin32Error(ERROR_INVALID_PARAMETER); SetLastWin32Error(ERROR_INVALID_PARAMETER);
return -1; return -1;
} }