filter/source/msfilter/msdffimp.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 79afa1d9b3ac33b75512095c6383db7f47342f26 Author: Caolán McNamara <[email protected]> Date: Fri Feb 16 09:54:10 2018 +0000 ofz#6390 Leak Change-Id: Icc2b90ac062da32c9da4cce67f15f6e55e005c2b Reviewed-on: https://gerrit.libreoffice.org/49842 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 4d0403a1163e..69688a038fae 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -4137,6 +4137,8 @@ SdrObject* SvxMSDffManager::ImportGroup( const DffRecordHeader& rHd, SvStream& r if (nShapeId) insertShapeId(nShapeId, pTmp); } + else + SdrObject::Free(pTmp); } } if (!aRecHd2.SeekToEndOfRecord(rSt)) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
