#5067 Janitor : Fix memory leak when opening summary files

This commit is contained in:
Magne Sjaastad 2019-11-20 07:05:24 +01:00
parent 04e71bbe94
commit 6b782cb646

View File

@ -65,6 +65,10 @@ void RifEclipseSummaryTools::findSummaryFiles( const QString& inputFile, QString
std::string extention;
if ( myExtention ) extention = myExtention;
free( myExtention );
free( myBase );
free( myPath );
if ( path.isEmpty() || base.isEmpty() ) return;
char* myHeaderFile = nullptr;