delete AngularConstraints at end of tests

This commit is contained in:
Andrew Meadows 2014-07-02 11:20:14 -07:00
parent 5934ee5b22
commit c3f7d9d155

View file

@ -281,6 +281,7 @@ void AngularConstraintTests::testHingeConstraint() {
<< " ERROR: HingeConstraint rotation = " << newRotation << " but expected " << expectedRotation << std::endl;
}
}
delete c;
}
void AngularConstraintTests::testConeRollerConstraint() {
@ -466,6 +467,7 @@ void AngularConstraintTests::testConeRollerConstraint() {
<< " ERROR: rotation = " << newRotation << " but expected " << expectedRotation << std::endl;
}
}
delete c;
}
void AngularConstraintTests::runAllTests() {