Update CollisionShape2TriangleMesh.cpp

fix memory leak, thanks Ilya Kostrikov for the report.
This commit is contained in:
erwincoumans 2016-06-14 07:53:15 -07:00 committed by GitHub
parent 9a8a52e1f9
commit b06e1cb873

View File

@ -167,6 +167,7 @@ void CollisionShape2TriangleMesh(btCollisionShape* collisionShape, const btTrans
}
}
}
delete hull;
}
} else
{