mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed memory leak
p4#: 19265
This commit is contained in:
@@ -163,6 +163,7 @@ RimReservoirView::~RimReservoirView()
|
||||
|
||||
delete rangeFilterCollection();
|
||||
delete propertyFilterCollection();
|
||||
delete wellCollection();
|
||||
|
||||
if (m_viewer)
|
||||
{
|
||||
|
||||
@@ -114,6 +114,10 @@ RIViewer::~RIViewer()
|
||||
{
|
||||
m_reservoirView->showWindow = false;
|
||||
m_reservoirView->cameraPosition = m_mainCamera->viewMatrix();
|
||||
|
||||
delete m_InfoLabel;
|
||||
delete m_animationProgress;
|
||||
delete m_histogramWidget;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user