diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-02-16 10:34:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-02-16 13:57:12 +0100 |
commit | da795470439f89aa3970eab2ecc3d8e2c6a21984 (patch) | |
tree | 1023d9c58c8bdce80cd41b989075aa7e3ea16c80 /filter/source/msfilter/msdffimp.cxx | |
parent | Unit test tdf#114833 do not officiously force Y-M-D if D-M-Y is applicable (diff) | |
download | core-da795470439f89aa3970eab2ecc3d8e2c6a21984.tar.gz core-da795470439f89aa3970eab2ecc3d8e2c6a21984.zip |
Related: ofz#6390, similar pattern
Change-Id: I4be0c422a70e58832227fb8c5a082ecdc9573220
Reviewed-on: https://gerrit.libreoffice.org/49845
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'filter/source/msfilter/msdffimp.cxx')
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 69688a038fae..dbe93bf2a624 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -4120,6 +4120,8 @@ SdrObject* SvxMSDffManager::ImportGroup( const DffRecordHeader& rHd, SvStream& r if (nShapeId) insertShapeId(nShapeId, pTmp); } + else + SdrObject::Free(pTmp); } } else if ( aRecHd2.nRecType == DFF_msofbtSpContainer ) |