incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1367969 - /incubator/ooo/trunk/main/sw/source/ui/app/swmodul1.cxx
Date Wed, 01 Aug 2012 12:54:06 GMT
Author: hdu
Date: Wed Aug  1 12:54:05 2012
New Revision: 1367969

URL: http://svn.apache.org/viewvc?rev=1367969&view=rev
Log:
#i116448# fix memory leak when exporting PDF with XStorable.storeToURL

Patch-by: eymux2009@googlemail.com
Review-by: hdu@apache.org

Modified:
    incubator/ooo/trunk/main/sw/source/ui/app/swmodul1.cxx

Modified: incubator/ooo/trunk/main/sw/source/ui/app/swmodul1.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/ui/app/swmodul1.cxx?rev=1367969&r1=1367968&r2=1367969&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/ui/app/swmodul1.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/ui/app/swmodul1.cxx Wed Aug  1 12:54:05 2012
@@ -233,6 +233,8 @@ void SwModule::ApplyUsrPref(const SwView
     // zum Schluss wird das Idle-Flag wieder gesetzt
 	// #42510#
 	pPref->SetIdle(sal_True);
+
+    delete pViewOpt;
 }
 /* -----------------------------28.09.00 12:36--------------------------------
 



Mime
View raw message