System : Fixed memory leaks

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

No files matched your search

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