From: Remi Gacogne Date: Thu, 22 Jun 2023 09:09:44 +0000 (+0200) Subject: channel: Add an annotation so Coverity does not think we leak X-Git-Tag: rec-5.0.0-alpha1~156^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12942%2Fhead;p=thirdparty%2Fpdns.git channel: Add an annotation so Coverity does not think we leak --- 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; }