WellLogPath. Fix memory leak

This commit is contained in:
Bjørn Erik Jensen
2017-10-25 20:20:12 +02:00
parent e7ced4f59b
commit fcefa1e55b
3 changed files with 6 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ void RicWellLogFileCloseFeature::onActionTriggered(bool isChecked)
if (parentWellPath != nullptr)
{
parentWellPath->removeWellLogFile(wellLogFile);
parentWellPath->deleteWellLogFile(wellLogFile);
}
parentWellPath->updateConnectedEditors();
}