Fix memory leak, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2500&p=9848
This commit is contained in:
@@ -121,8 +121,8 @@ namespace ConvexDecomposition
|
||||
|
||||
~ConvexResult(void)
|
||||
{
|
||||
delete mHullVertices;
|
||||
delete mHullIndices;
|
||||
delete [] mHullVertices;
|
||||
delete [] mHullIndices;
|
||||
}
|
||||
|
||||
// the convex hull.
|
||||
|
||||
Reference in New Issue
Block a user