summaryrefslogtreecommitdiffstats
path: root/source/cFluidSimulator.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cFluidSimulator.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/cFluidSimulator.cpp b/source/cFluidSimulator.cpp
index 9c2b02e76..47cf0be19 100644
--- a/source/cFluidSimulator.cpp
+++ b/source/cFluidSimulator.cpp
@@ -15,6 +15,12 @@ public:
, m_World( a_World )
{}
+ ~FluidData()
+ {
+ delete m_Buffer;
+ delete m_ActiveFluid;
+ }
+
std::vector< Vector3i > GetLowestPoints( int a_X, int a_Y, int a_Z )
{
std::vector< Vector3i > Points;