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

svn commit: r1353406 - /incubator/ooo/trunk/main/sw/source/filter/xml/xmlexpit.cxx

Author: zhangjf
Date: Mon Jun 25 07:01:30 2012
New Revision: 1353406

URL: http://svn.apache.org/viewvc?rev=1353406&view=rev
Log:
#i120072#, free local XMLPropertyHandler object to avoid leak

Patch by: Huang Chao
Review by: zhangjf

Modified:
    incubator/ooo/trunk/main/sw/source/filter/xml/xmlexpit.cxx

Modified: incubator/ooo/trunk/main/sw/source/filter/xml/xmlexpit.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/xml/xmlexpit.cxx?rev=1353406&r1=1353405&r2=1353406&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/xml/xmlexpit.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/xml/xmlexpit.cxx Mon Jun 25 07:01:30 2012
@@ -1016,6 +1016,8 @@ sal_Bool SvXMLExportItemMapper::QueryXML
                                                       rUnitConverter );
                 if( bOk )
                     aOut.append( sValue );
+
+                delete pWritingModeHandler;  // memory leak #i120072#
             }
         }
         break;