incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1353449 - /incubator/ooo/trunk/main/sw/source/filter/xml/xmlimpit.cxx
Date Mon, 25 Jun 2012 10:00:43 GMT
Author: hdu
Date: Mon Jun 25 10:00:41 2012
New Revision: 1353449

URL: http://svn.apache.org/viewvc?rev=1353449&view=rev
Log:
#i120073# fix a memory leak in SvXMLImportItemMapper::PutXMLValue

Patch by: Chao Huang
Found by: Chao Huang
Review by: Herbert Duerr

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

Modified: incubator/ooo/trunk/main/sw/source/filter/xml/xmlimpit.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/xml/xmlimpit.cxx?rev=1353449&r1=1353448&r2=1353449&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/xml/xmlimpit.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/xml/xmlimpit.cxx Mon Jun 25 10:00:41 2012
@@ -944,6 +944,8 @@ sal_Bool SvXMLImportItemMapper::PutXMLVa
                                                       rUnitConverter );
                 if( bOk )
                     bOk = rItem.PutValue( aAny );
+
+                delete pWritingModeHandler;
             }
         }
         break;



Mime
View raw message