Since rmw_allocate() was used to allocate memory, we should use rmw_free() to cleanup. Otherwise, if the user provided a custom allocator to the context we will be calling deallocate with the wrong allocator. Signed-off-by: Jacob Perron <jacob@openrobotics.org> |
||
|---|---|---|
| .. | ||
| cmake | ||
| include/rmw_cyclonedds_cpp | ||
| src | ||
| CHANGELOG.rst | ||
| CMakeLists.txt | ||
| package.xml | ||