From 48a91a30b25f214ebfd375d733db9e249e8de1f9 Mon Sep 17 00:00:00 2001 From: Jacob Perron Date: Mon, 31 Jan 2022 12:48:57 -0800 Subject: [PATCH] Add release note for Foxy patch release 7 Documenting an API-break in rmw_fastrtps_dynamic_cpp. Signed-off-by: Jacob Perron --- source/Releases/Release-Foxy-Fitzroy.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source/Releases/Release-Foxy-Fitzroy.rst b/source/Releases/Release-Foxy-Fitzroy.rst index 3792fa4954..0294e3a70a 100644 --- a/source/Releases/Release-Foxy-Fitzroy.rst +++ b/source/Releases/Release-Foxy-Fitzroy.rst @@ -63,6 +63,19 @@ Related pull requests: * `launch#530 `_ * `launch_ros#265 `_ +Fix memory leaks and undefined behavior in rmw_fastrtps_dynamic_cpp +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +API was changed in the following header files: + +- ``rmw_fastrtps_dynamic_cpp/TypeSupport.hpp`` +- ``rmw_fastrtps_dynamic_cpp/TypeSupport_impl.hpp`` + +Though technically they are publically accessible, it is unlikely people are using them directly. +Therefore, we decided to break API in order to fix memory leaks and undefined behavior. + +The fix was originally submitted in `rmw_fastrtps#429 `_ and later backported to Foxy in `rmw_fastrtps#577 `_. + Changes in Patch Release 2 --------------------------