ros / class_loader

ROS-independent library for dynamic class (i.e. plugin) introspection and loading from runtime libraries
http://www.ros.org/wiki/class_loader
34 stars 95 forks source link

Remove memory leaks #186

Open ahcorde opened 3 years ago

ahcorde commented 3 years ago

Signed-off-by: ahcorde ahcorde@gmail.com

I ran class_loader with asan and I found some memory leaks.

There is still one memory leak when we create unmanaged instance, the way to reproduce this leak is to run basicLoadUnmanaged and noWarningOnLazyLoad tests at the same time.

what is the right way to destroy this memory ?

ahcorde commented 3 years ago

--packages-above-and-dependencies class_loader

ahcorde commented 3 years ago
ahcorde commented 2 years ago

Rerunning tests. Anyhow failures look unrelared.