From 4d82cc5957978aad3b291b711f9e9d7653362155 Mon Sep 17 00:00:00 2001 From: UjinT34 <41110182+UjinT34@users.noreply.github.com> Date: Mon, 29 Sep 2025 15:10:15 +0300 Subject: internal: fix clang-tidy "errors" (#11862) --- src/xwayland/XDataSource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xwayland/XDataSource.cpp') diff --git a/src/xwayland/XDataSource.cpp b/src/xwayland/XDataSource.cpp index c67ca101..8e7b2505 100644 --- a/src/xwayland/XDataSource.cpp +++ b/src/xwayland/XDataSource.cpp @@ -17,7 +17,7 @@ CXDataSource::CXDataSource(SXSelection& sel_) : m_selection(sel_) { return; if (reply->type != XCB_ATOM_ATOM) { - free(reply); + free(reply); // NOLINT(cppcoreguidelines-no-malloc) return; } @@ -41,7 +41,7 @@ CXDataSource::CXDataSource(SXSelection& sel_) : m_selection(sel_) { m_mimeAtoms.push_back(value[i]); } - free(reply); + free(reply); // NOLINT(cppcoreguidelines-no-malloc) } std::vector CXDataSource::mimes() { -- cgit v1.2.3