diff --git a/Sofa/Component/Constraint/Lagrangian/Model/src/sofa/component/constraint/lagrangian/model/BaseContactLagrangianConstraint.inl b/Sofa/Component/Constraint/Lagrangian/Model/src/sofa/component/constraint/lagrangian/model/BaseContactLagrangianConstraint.inl index 859bd281c5d..27263e58dc1 100644 --- a/Sofa/Component/Constraint/Lagrangian/Model/src/sofa/component/constraint/lagrangian/model/BaseContactLagrangianConstraint.inl +++ b/Sofa/Component/Constraint/Lagrangian/Model/src/sofa/component/constraint/lagrangian/model/BaseContactLagrangianConstraint.inl @@ -34,15 +34,15 @@ BaseContactLagrangianConstraint::BaseContactLagrangian : Inherit(object1, object2) , yetIntegrated(false) , customTolerance(0.0) -// , contactsStatus(nullptr) + , contactsStatus(nullptr) { } template BaseContactLagrangianConstraint::~BaseContactLagrangianConstraint() { -// if(contactsStatus) -// delete[] contactsStatus; + if(contactsStatus) + delete[] contactsStatus; } template