From bc4c86b8987799af5940cf103191475804910ecb Mon Sep 17 00:00:00 2001 From: hikerstk Date: Mon, 10 Dec 2012 06:00:20 +0000 Subject: [PATCH] Fixed memory leak in bullet. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12227 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- .../BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bullet/src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp b/lib/bullet/src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp index d59e54cd3..377599ce9 100644 --- a/lib/bullet/src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp +++ b/lib/bullet/src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp @@ -31,6 +31,7 @@ btPolyhedralConvexShape::~btPolyhedralConvexShape() { if (m_polyhedron) { + m_polyhedron->~btConvexPolyhedron(); btAlignedFree(m_polyhedron); } }