mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
System : Fixed memory leaks
This commit is contained in:
@@ -89,7 +89,10 @@ RimWellLogPlot::RimWellLogPlot()
|
||||
RimWellLogPlot::~RimWellLogPlot()
|
||||
{
|
||||
RiuMainWindow::instance()->removeViewer(m_viewer);
|
||||
|
||||
detachAllCurves();
|
||||
m_tracks.deleteAllChildObjects();
|
||||
|
||||
delete m_viewer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user