System : Fixed memory leaks

This commit is contained in:
Magne Sjaastad
2015-12-09 13:52:25 +01:00
parent a86d24df97
commit 47bb20368a
13 changed files with 20 additions and 5 deletions

View File

@@ -89,7 +89,10 @@ RimWellLogPlot::RimWellLogPlot()
RimWellLogPlot::~RimWellLogPlot()
{
RiuMainWindow::instance()->removeViewer(m_viewer);
detachAllCurves();
m_tracks.deleteAllChildObjects();
delete m_viewer;
}