diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-08-16 12:23:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-08-17 09:52:50 +0200 |
commit | 3c6f95dd327ee0730e90f90b56b5a3dd2a2291fb (patch) | |
tree | 504aac58e1bebfff30c06efbeae59ad7f78132e6 /package | |
parent | a30e2862c2bf4635c53a627659905de29934799b (diff) |
cid#1500507 silence Resource leak
Change-Id: I738600ee653d68e80dc8a18970e759d97da08970
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138392
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zippackage/ZipPackageStream.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |