incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhan...@apache.org
Subject svn commit: r1353406 - /incubator/ooo/trunk/main/sw/source/filter/xml/xmlexpit.cxx
Date Mon, 25 Jun 2012 07:01:31 GMT
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;



Mime
View raw message