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

svn commit: r1353449 - /incubator/ooo/trunk/main/sw/source/filter/xml/xmlimpit.cxx

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;