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
This commit is contained in:
parent
e62cae9ad9
commit
bc4c86b898
@ -31,6 +31,7 @@ btPolyhedralConvexShape::~btPolyhedralConvexShape()
|
||||
{
|
||||
if (m_polyhedron)
|
||||
{
|
||||
m_polyhedron->~btConvexPolyhedron();
|
||||
btAlignedFree(m_polyhedron);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user