From 3c6f95dd327ee0730e90f90b56b5a3dd2a2291fb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 16 Aug 2022 12:23:05 +0100 Subject: cid#1500507 silence Resource leak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I738600ee653d68e80dc8a18970e759d97da08970 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138392 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- package/source/zippackage/ZipPackageStream.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index b63bf24eaf4f..cf1567983d8e 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -657,7 +657,7 @@ bool ZipPackageStream::saveChild( ZipOutputStream::setEntry(pTempEntry); rZipOut.writeLOC(pTempEntry); - // the entry is provided to the ZipOutputStream that will delete it + // coverity[leaked_storage] - the entry is provided to the ZipOutputStream that will delete it pAutoTempEntry.release(); uno::Sequence < sal_Int8 > aSeq ( n_ConstBufferSize ); -- cgit