coverity#1019372/373: Resource leaks
Change-Id: I8d1facfa027701a4f249f14392f9b204e92180be
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user