summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/treemerge.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/treemerge.cxx b/l10ntools/source/treemerge.cxx
index 06e93d72af8c..f2e959fcbf28 100644
--- a/l10ntools/source/treemerge.cxx
+++ b/l10ntools/source/treemerge.cxx
@@ -213,7 +213,7 @@ TreeParser::TreeParser(
}
if( !m_pSource->name )
{
- m_pSource->name = new char[strlen(rInputFile.getStr())+1];
+ m_pSource->name = static_cast<char *>(xmlMalloc(strlen(rInputFile.getStr())+1));
strcpy( m_pSource->name, rInputFile.getStr() );
}
m_bIsInitialized = true;