Fix memory leak in btShapeHull

This commit is contained in:
john.mccutchan
2008-03-27 21:17:47 +00:00
parent cc264199af
commit d775191eff

View File

@@ -138,6 +138,10 @@ btShapeHull::buildHull (btScalar margin)
{ {
m_indices[i] = hr.mIndices[i]; m_indices[i] = hr.mIndices[i];
} }
// free temporary hull result that we just copied
hl.ReleaseResult (hr);
return true; return true;
} }