mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#435) Bugfix - made sure that correct pointer is assigned
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user