summaryrefslogtreecommitdiff
path: root/src/xwayland/XDataSource.cpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2025-09-29 15:10:15 +0300
committerGitHub <noreply@github.com>2025-09-29 13:10:15 +0100
commit4d82cc5957978aad3b291b711f9e9d7653362155 (patch)
tree6ce5c3fad79aa3572384dc780c19fd378250d310 /src/xwayland/XDataSource.cpp
parent43fb4753fcc5ed1eb0c3341b690f72574faa02bc (diff)
internal: fix clang-tidy "errors" (#11862)
Diffstat (limited to 'src/xwayland/XDataSource.cpp')
-rw-r--r--src/xwayland/XDataSource.cpp4
1 files changed, 2 insertions, 2 deletions
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<std::string> CXDataSource::mimes() {