Fix memory leak.
This commit is contained in:
1 parent
85be3b43dd
commit
54eada7579
1 file changed
+1
@@ -6945,6 +6945,7 @@ static PyObject* pybullet_calculateInverseKinematics(PyObject* self,
|
||||
{
|
||||
b3CalculateInverseKinematicsSetJointDamping(command, numJoints, jointDamping);
|
||||
}
|
||||
free(jointDamping);
|
||||
|
||||
statusHandle = b3SubmitClientCommandAndWaitStatus(sm, command);
|
||||
|
||||
|
||||
Reference in new issue
Block a user