summaryrefslogtreecommitdiff
path: root/src/helpers/Format.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/helpers/Format.cpp
parent43fb4753fcc5ed1eb0c3341b690f72574faa02bc (diff)
internal: fix clang-tidy "errors" (#11862)
Diffstat (limited to 'src/helpers/Format.cpp')
-rw-r--r--src/helpers/Format.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/Format.cpp b/src/helpers/Format.cpp
index e03569a6..ce64c113 100644
--- a/src/helpers/Format.cpp
+++ b/src/helpers/Format.cpp
@@ -264,13 +264,13 @@ uint32_t NFormatUtils::glFormatToType(uint32_t gl) {
std::string NFormatUtils::drmFormatName(DRMFormat drm) {
auto n = drmGetFormatName(drm);
std::string name = n;
- free(n);
+ free(n); // NOLINT(cppcoreguidelines-no-malloc,-warnings-as-errors)
return name;
}
std::string NFormatUtils::drmModifierName(uint64_t mod) {
auto n = drmGetFormatModifierName(mod);
std::string name = n;
- free(n);
+ free(n); // NOLINT(cppcoreguidelines-no-malloc,-warnings-as-errors)
return name;
}