internal: fix clang-tidy "errors" (#11862)
This commit is contained in:
parent
43fb4753fc
commit
4d82cc5957
13 changed files with 133 additions and 26 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue