mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix memory leak
This commit is contained in:
parent
71c4642f13
commit
81cb97ead7
@ -1013,7 +1013,6 @@ void RimWellPltPlot::initAfterRead()
|
||||
{
|
||||
RimWellLogPlot& wellLogPlot = dynamic_cast<RimWellLogPlot&>( *this );
|
||||
wellLogPlot = std::move( *m_wellLogPlot_OBSOLETE.value() );
|
||||
m_wellLogPlot_OBSOLETE = nullptr;
|
||||
}
|
||||
|
||||
if ( m_showPlotTitle_OBSOLETE() && !m_showTitleInPlot() )
|
||||
|
@ -955,7 +955,6 @@ void RimWellRftPlot::initAfterRead()
|
||||
{
|
||||
RimWellLogPlot& wellLogPlot = dynamic_cast<RimWellLogPlot&>( *this );
|
||||
wellLogPlot = std::move( *m_wellLogPlot_OBSOLETE.value() );
|
||||
m_wellLogPlot_OBSOLETE = nullptr;
|
||||
}
|
||||
if ( m_showPlotTitle_OBSOLETE() && !m_showTitleInPlot() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user