diff options
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/propmerge.cxx | 1 | ||||
-rw-r--r-- | l10ntools/source/stringmerge.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/l10ntools/source/propmerge.cxx b/l10ntools/source/propmerge.cxx index cdbe9d2243f8..ee715f75570c 100644 --- a/l10ntools/source/propmerge.cxx +++ b/l10ntools/source/propmerge.cxx @@ -179,6 +179,7 @@ void PropParser::Merge( const OString &rMergeSrc, const OString &rDestinationFil << "language of Mergedata file: " << m_sLang.getStr() << " - " << vLanguages[0].getStr() << std::endl; + delete pMergeDataFile; return; } } diff --git a/l10ntools/source/stringmerge.cxx b/l10ntools/source/stringmerge.cxx index 6ceb4b7a401d..34c978b45493 100644 --- a/l10ntools/source/stringmerge.cxx +++ b/l10ntools/source/stringmerge.cxx @@ -107,6 +107,7 @@ void StringParser::Merge( << "language of Mergedata file: " << m_sLang.getStr() << " - " << vLanguages[0].getStr() << std::endl; + delete pMergeDataFile; return; } } |