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: eymux2...@googlemail.com
Review-by: h...@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--------------------------------
 


Reply via email to