ros2 / rmw_cyclonedds

ROS 2 RMW layer for Eclipse Cyclone DDS
Apache License 2.0
117 stars 90 forks source link

suppress leak sanitizer for expected leak #510

Open comicfans opened 2 months ago

comicfans commented 2 months ago

this memory is expected to leak, but will create lots of leak warning for any exe which depends on it. rmw_cyclonedds is load through dlopen, such leak can't suppressed by runtime suppression https://github.com/google/sanitizers/issues/89, better to annotate it