[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu May 6 11:01:15 UTC 2021
vcl/source/bitmap/BitmapMosaicFilter.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 0664228c1648a6f88ccf251ccc0bdda57b2717a9
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu May 6 10:34:40 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu May 6 13:00:38 2021 +0200
cid#1482086 silence bogus Double free
Change-Id: I54bd03f6a46f894b729d3977057f0729640db49a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115175
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/bitmap/BitmapMosaicFilter.cxx b/vcl/source/bitmap/BitmapMosaicFilter.cxx
index 8dfa4519e05a..c13ab0199540 100644
--- a/vcl/source/bitmap/BitmapMosaicFilter.cxx
+++ b/vcl/source/bitmap/BitmapMosaicFilter.cxx
@@ -157,6 +157,7 @@ BitmapEx BitmapMosaicFilter::execute(BitmapEx const& rBitmapEx) const
}
Bitmap::ReleaseAccess(pReadAcc);
+ pReadAcc = nullptr;
if (pNewBmp)
{
More information about the Libreoffice-commits
mailing list