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