diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-05-08 20:53:42 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-05-08 20:53:55 +0200 |
commit | 9210f1a50a374b824f02fb43a57cdbbbb714d26c (patch) | |
tree | 332871c2af033de087b932f3c9becf9711e8577b /l10ntools | |
parent | 569f6b41c6d7dcdcc65a2d6a75018a3266936532 (diff) |
coverity#1019372/373: Resource leaks
Change-Id: I8d1facfa027701a4f249f14392f9b204e92180be
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; } } |