diff options
| author | UjinT34 <41110182+UjinT34@users.noreply.github.com> | 2025-09-29 15:10:15 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-29 13:10:15 +0100 |
| commit | 4d82cc5957978aad3b291b711f9e9d7653362155 (patch) | |
| tree | 6ce5c3fad79aa3572384dc780c19fd378250d310 /src/devices | |
| parent | 43fb4753fcc5ed1eb0c3341b690f72574faa02bc (diff) | |
internal: fix clang-tidy "errors" (#11862)
Diffstat (limited to 'src/devices')
| -rw-r--r-- | src/devices/IKeyboard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/IKeyboard.cpp b/src/devices/IKeyboard.cpp index 20292176..b732ba08 100644 --- a/src/devices/IKeyboard.cpp +++ b/src/devices/IKeyboard.cpp @@ -155,10 +155,10 @@ void IKeyboard::updateKeymapFD() { auto cKeymapStr = xkb_keymap_get_as_string(m_xkbKeymap, XKB_KEYMAP_FORMAT_TEXT_V2); m_xkbKeymapString = cKeymapStr; - free(cKeymapStr); + free(cKeymapStr); // NOLINT(cppcoreguidelines-no-malloc,-warnings-as-errors) auto cKeymapV1Str = xkb_keymap_get_as_string(m_xkbKeymap, XKB_KEYMAP_FORMAT_TEXT_V1); m_xkbKeymapV1String = cKeymapV1Str; - free(cKeymapV1Str); + free(cKeymapV1Str); // NOLINT(cppcoreguidelines-no-malloc,-warnings-as-errors) CFileDescriptor rw, ro, rwV1, roV1; if (!allocateSHMFilePair(m_xkbKeymapString.length() + 1, rw, ro)) |
