]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: FFS, clang-tidy, I already told you RAII was not an option here
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 13 Nov 2023 14:37:29 +0000 (15:37 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 14 Nov 2023 14:43:41 +0000 (15:43 +0100)
pdns/dnsdistdist/dnsdist-lua-ffi.cc

index 813363307177a0ff00cb3f47f71edce718242743..1ec5c037821a6e8e8ccf564031fbacd61fc7c3dc 100644 (file)
@@ -1870,9 +1870,9 @@ void dnsdist_ffi_dynamic_blocks_list_free(dnsdist_ffi_dynamic_blocks_list_t* lis
   }
 
   for (auto& entry : list->d_entries) {
-    // NOLINTNEXTLINE(cppcoreguidelines-owning-memory): this is a C API, RAII is not an option
+    // NOLINTNEXTLINE(cppcoreguidelines-owning-memory,cppcoreguidelines-no-malloc): this is a C API, RAII is not an option
     free(entry.key);
-    // NOLINTNEXTLINE(cppcoreguidelines-owning-memory): this is a C API, RAII is not an option
+    // NOLINTNEXTLINE(cppcoreguidelines-owning-memory,cppcoreguidelines-no-malloc): this is a C API, RAII is not an option
     free(entry.reason);
   }