diff options
| author | Vaxry <vaxry@vaxry.net> | 2026-01-05 16:25:46 +0100 |
|---|---|---|
| committer | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-01-05 18:53:29 +0100 |
| commit | 8eb3ecc7556e07ffdb8037504429e9ccc749c0ab (patch) | |
| tree | e2be9d682603d3949f2792167299fb5b01e772bf /src/managers/input/TextInput.hpp | |
| parent | 97c8a2f1cf6da68ead76ea114e435b47026fd6a4 (diff) | |
input/TI: avoid UAF in destroy
Diffstat (limited to 'src/managers/input/TextInput.hpp')
| -rw-r--r-- | src/managers/input/TextInput.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<CWLSurfaceResource> pSurface); void initCallbacks(); + void destroy(); + WP<CWLSurfaceResource> m_focusedSurface; int m_enterLocks = 0; WP<CTextInputV3> m_v3Input; |
