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

@ -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<std::string> CXDataSource::mimes() {