From 8eb3ecc7556e07ffdb8037504429e9ccc749c0ab Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 5 Jan 2026 16:25:46 +0100 Subject: input/TI: avoid UAF in destroy --- src/managers/input/TextInput.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/managers/input/TextInput.hpp') diff --git a/src/managers/input/TextInput.hpp b/src/managers/input/TextInput.hpp index acb38d58..798f31e9 100644 --- a/src/managers/input/TextInput.hpp +++ b/src/managers/input/TextInput.hpp @@ -39,6 +39,8 @@ class CTextInput { void setFocusedSurface(SP pSurface); void initCallbacks(); + void destroy(); + WP m_focusedSurface; int m_enterLocks = 0; WP m_v3Input; -- cgit v1.2.3