You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2012/06/19 11:46:31 UTC

svn commit: r1351622 - /incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx

Author: hdu
Date: Tue Jun 19 09:46:31 2012
New Revision: 1351622

URL: http://svn.apache.org/viewvc?rev=1351622&view=rev
Log:
#i120021# fix memory leak in PptSlidePersistEntry::~PptSlidePersistEntry()

Patch by: Chao Huang
Found by: Chao Huang
Review and minor modifications by: Herbert Duerr

Modified:
    incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx

Modified: incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx?rev=1351622&r1=1351621&r2=1351622&view=diff
==============================================================================
--- incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx (original)
+++ incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx Tue Jun 19 09:46:31 2012
@@ -587,7 +587,8 @@ PptSlidePersistEntry::PptSlidePersistEnt
 
 PptSlidePersistEntry::~PptSlidePersistEntry()
 {
-    delete pStyleSheet;
+	delete pStyleSheet;
+	delete pHeaderFooterEntry;
 	delete pSolverContainer;
 	delete[] pPresentationObjects;
 };