coverity#1019372/373: Resource leaks

Change-Id: I8d1facfa027701a4f249f14392f9b204e92180be
This commit is contained in:
Julien Nabet
2013-05-08 20:53:42 +02:00
parent 569f6b41c6
commit 9210f1a50a
2 changed files with 2 additions and 0 deletions

View File

@@ -179,6 +179,7 @@ void PropParser::Merge( const OString &rMergeSrc, const OString &rDestinationFil
<< "language of Mergedata file: " << "language of Mergedata file: "
<< m_sLang.getStr() << " - " << m_sLang.getStr() << " - "
<< vLanguages[0].getStr() << std::endl; << vLanguages[0].getStr() << std::endl;
delete pMergeDataFile;
return; return;
} }
} }

View File

@@ -107,6 +107,7 @@ void StringParser::Merge(
<< "language of Mergedata file: " << "language of Mergedata file: "
<< m_sLang.getStr() << " - " << m_sLang.getStr() << " - "
<< vLanguages[0].getStr() << std::endl; << vLanguages[0].getStr() << std::endl;
delete pMergeDataFile;
return; return;
} }
} }