Closed traversaro closed 8 years ago
Fixed this bug (and all other problems with memory allocation and deallocation, that prevented the mex to be unloaded from matlab in a clean way) in three commits:
I will merge it together with the fix to the kinematic energy conservation tests, then we can close this issue.
good catch! Not sure when it crept in. :+1:
The instance of the
ComponentManager
is allocated in https://github.com/robotology/mex-wholebodymodel/blob/77139ce83e22b766085d83542c7a1caedde74cdf/src/componentmanager.cpp#L40 , but is never properly deleted.