cid#1482086 silence bogus Double free
Change-Id: I7567ce468f94c9565d2d6fd88a051383dae41013 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115231 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -156,8 +156,9 @@ BitmapEx BitmapMosaicFilter::execute(BitmapEx const& rBitmapEx) const
|
||||
bRet = true;
|
||||
}
|
||||
|
||||
if (pWriteAcc == pReadAcc)
|
||||
pWriteAcc = nullptr;
|
||||
Bitmap::ReleaseAccess(pReadAcc);
|
||||
pReadAcc = nullptr;
|
||||
|
||||
if (pNewBmp)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user