From 9254e794e1ee3fd2687f1c2e207e24e227babb1e Mon Sep 17 00:00:00 2001 From: Nimetu Date: Sun, 14 Apr 2019 15:01:18 +0300 Subject: [PATCH] Fixed: use-after-free on deleted mouse pointer --HG-- branch : develop --- code/ryzom/client/src/interface_v3/interface_manager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/ryzom/client/src/interface_v3/interface_manager.cpp b/code/ryzom/client/src/interface_v3/interface_manager.cpp index 6ab3ebe5f..5593a365f 100644 --- a/code/ryzom/client/src/interface_v3/interface_manager.cpp +++ b/code/ryzom/client/src/interface_v3/interface_manager.cpp @@ -1381,6 +1381,8 @@ void CInterfaceManager::uninitInGame1 () reset(); CInterfaceLink::removeAllLinks(); + CWidgetManager::getInstance()->setPointer( NULL ); + // Release DDX manager, before DB remove CDDXManager::getInstance()->release();