diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-12 10:04:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-13 08:04:48 +0100 |
commit | b497655a48f75ef377ac7428ef64bcb3c7bf51e4 (patch) | |
tree | 37e4bbade388215e1c1e5742747d036afd98581f /include | |
parent | 70d2673ba06878ee84c99d7877e4b71749ac06f0 (diff) |
Fix memory leak
Change-Id: I9e271c3b7ff49d33f4f6f3f8c50b70ac5ce1541e
Diffstat (limited to 'include')
-rw-r--r-- | include/filter/msfilter/svdfppt.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx index 9633234fd747..d1a1078c7a99 100644 --- a/include/filter/msfilter/svdfppt.hxx +++ b/include/filter/msfilter/svdfppt.hxx @@ -508,13 +508,11 @@ struct ProcessData PptSlidePersistEntry& rPersistEntry; SdPageCapsule pPage; ::std::vector< SdrObject* > aBackgroundColoredObjects; - sal_uInt32* pTableRowProperties; + std::unique_ptr<sal_uInt32[]> pTableRowProperties; ProcessData( PptSlidePersistEntry& rP, SdPageCapsule pP ) : rPersistEntry ( rP ), - pPage ( pP ), - pTableRowProperties ( nullptr ) {}; - ~ProcessData() { delete[] pTableRowProperties; }; + pPage ( pP ) {}; }; |