(#435) Bugfix - made sure that correct pointer is assigned

This commit is contained in:
Pål Hagen committed 2015-09-15 11:01:19 +02:00
1 parent 08e266c2f3
commit 7efd3daa8b
2 files changed
+3 -3

No files matched your search

@@ -95,7 +95,7 @@ RimWellPath::RimWellPath()
//--------------------------------------------------------------------------------------------------
RimWellPath::~RimWellPath()
{
if (m_lasFileInfo)
if (m_lasFileInfo())
{
delete m_lasFileInfo;
}
@@ -358,7 +358,7 @@ void RimWellPath::updateFilePathsFromProjectPath()
//--------------------------------------------------------------------------------------------------
void RimWellPath::setLogFileInfo(RimWellLasFileInfo* logFileInfo)
{
if (m_lasFileInfo)
if (m_lasFileInfo())
{
delete m_lasFileInfo;
}