[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - sw/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Sat Jun 27 15:32:34 UTC 2020
sw/source/filter/ww8/wrtww8.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 39fd223cd65c8b6405fa3b33a9f6be680c745713
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sat Jun 27 10:34:24 2020 +0200
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Jun 27 17:32:01 2020 +0200
cid#1464967: RESOURCE_LEAK (sw/wrtww8)
Change-Id: Ic1aa0d42f174808c7700875cb31f1c726b3160e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97298
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index c3fe9c0a36f9..5fedd5bb39b7 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -3751,7 +3751,7 @@ ErrCode SwWW8Writer::WriteStorage()
break;
}
- SotStorageStream* pStream = pStorage->OpenSotStream(sFileName);
+ tools::SvRef<SotStorageStream> pStream = pStorage->OpenSotStream(sFileName);
if (!pStream)
{
nErrorCode = ERRCODE_IO_GENERAL;
More information about the Libreoffice-commits
mailing list