internal: fix clang-tidy "errors" (#11862)

This commit is contained in:
UjinT34 2025-09-29 15:10:15 +03:00 committed by GitHub
parent 43fb4753fc
commit 4d82cc5957
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 133 additions and 26 deletions

View file

@ -35,11 +35,11 @@ CXWaylandSurface::CXWaylandSurface(uint32_t xID_, CBox geometry_, bool OR) : m_x
xcb_res_client_id_value_next(&iter);
}
if (!ppid) {
free(reply);
free(reply); // NOLINT(cppcoreguidelines-no-malloc)
return;
}
m_pid = *ppid;
free(reply);
free(reply); // NOLINT(cppcoreguidelines-no-malloc)
}
m_events.resourceChange.listenStatic([this] { ensureListeners(); });