From 1454d237d1c350eb4ccbf786be802893791c2f9e Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Wed, 28 Dec 2011 16:01:15 +0000 Subject: Fixed some small memory leaks git-svn-id: http://mc-server.googlecode.com/svn/trunk@148 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cFluidSimulator.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/cFluidSimulator.cpp') 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; -- cgit v1.2.3