[Bf-blender-cvs] [accf3045be4] master: Fix memory leak while processing mouse event
Germano Cavalcante
noreply at git.blender.org
Fri Aug 20 14:06:26 CEST 2021
Commit: accf3045be40433045c197cfcdbcbc32a7724403
Author: Germano Cavalcante
Date: Fri Aug 20 09:05:52 2021 -0300
Branches: master
https://developer.blender.org/rBaccf3045be40433045c197cfcdbcbc32a7724403
Fix memory leak while processing mouse event
Assignment missed.
===================================================================
M intern/ghost/intern/GHOST_SystemWin32.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp
index 347067eae50..f44107ee000 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.cpp
+++ b/intern/ghost/intern/GHOST_SystemWin32.cpp
@@ -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) {
More information about the Bf-blender-cvs
mailing list