mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed memory leak
This commit is contained in:
parent
5b5d0ffa5a
commit
babe812ebc
@ -61,7 +61,7 @@ public:
|
||||
virtual size_t timeStepCount();
|
||||
|
||||
private:
|
||||
cvf::ref<RigCaseCellResultsData> m_resultsData;
|
||||
RigCaseCellResultsData* m_resultsData;
|
||||
size_t m_scalarResultIndex;
|
||||
};
|
||||
|
||||
@ -85,5 +85,5 @@ public:
|
||||
virtual size_t timeStepCount();
|
||||
|
||||
private:
|
||||
cvf::Collection<RigStatisticsCalculator> m_nativeStatisticsCalculators;
|
||||
std::vector<RigStatisticsCalculator*> m_nativeStatisticsCalculators;
|
||||
};
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include "RiaApplication.h"
|
||||
#include "RiuMainWindow.h"
|
||||
|
||||
#include <vld.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user