Fix memory leak while processing mouse event

Assignment missed.
This commit is contained in:
Germano Cavalcante 2021-08-20 09:05:52 -03:00
parent ef502127dd
commit accf3045be
1 changed files with 1 additions and 1 deletions

View File

@ -1741,7 +1741,7 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
case WM_MOUSELEAVE: {
window->m_mousePresent = false;
if (window->getTabletData().Active == GHOST_kTabletModeNone) {
processCursorEvent(window);
event = processCursorEvent(window);
}
GHOST_Wintab *wt = window->getWintab();
if (wt) {