From cc6e0bb836bf337ce1db947a274148b8fb2fa368 Mon Sep 17 00:00:00 2001 From: Jorge Perez Date: Wed, 27 May 2020 11:34:22 -0300 Subject: [PATCH] Add missing fini calls Signed-off-by: Jorge Perez --- rcl/test/rcl/test_init.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rcl/test/rcl/test_init.cpp b/rcl/test/rcl/test_init.cpp index 582b4c2fb..d3d9ef185 100644 --- a/rcl/test/rcl/test_init.cpp +++ b/rcl/test/rcl/test_init.cpp @@ -297,4 +297,7 @@ TEST_F(CLASSNAME(TestRCLFixture, RMW_IMPLEMENTATION), test_rcl_init_options_acce rcl_init_options_t init_options_dst = rcl_get_zero_initialized_init_options(); EXPECT_EQ(RCL_RET_OK, rcl_init_options_copy(&init_options, &init_options_dst)); EXPECT_EQ(RCL_RET_ALREADY_INIT, rcl_init_options_copy(&init_options, &init_options_dst)); + + EXPECT_EQ(RCL_RET_OK, rcl_init_options_fini(&init_options)); + EXPECT_EQ(RCL_RET_OK, rcl_init_options_fini(&init_options_dst)); }