From 773cd53158e4fcfd0fcf66904126c644244f5b90 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 22 Jun 2023 11:09:44 +0200 Subject: [PATCH] channel: Add an annotation so Coverity does not think we leak --- pdns/channel.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/channel.hh b/pdns/channel.hh index e06d2583dc..7beaa198d1 100644 --- a/pdns/channel.hh +++ b/pdns/channel.hh @@ -232,6 +232,7 @@ namespace channel ssize_t sent = write(d_fd.getHandle(), &ptr, sizeof(ptr)); if (sent == sizeof(ptr)) { + // coverity[leaked_storage] localObj.release(); return true; } -- 2.47.2