SSIHUB: Fixed memory leak

Delete copy of RimWellPathImport object and added destructor to related
objects
This commit is contained in:
Magne Sjaastad
2013-10-23 10:42:34 +02:00
parent 785efe55e8
commit cbe9110c8a
7 changed files with 37 additions and 6 deletions

View File

@@ -201,5 +201,13 @@ void RimWellPathImport::defineObjectEditorAttribute(QString uiConfigName, caf::P
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RimWellPathImport::~RimWellPathImport()
{
regions.deleteAllChildObjects();
}