summaryrefslogtreecommitdiff
path: root/src/xwayland/XDataSource.cpp
diff options
context:
space:
mode:
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() {