Add missing node destruction (#601)

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
This commit is contained in:
Ivan Santiago Paunovic 2020-03-18 14:27:55 -03:00 committed by GitHub
parent 00f3acc8d1
commit 43a4e65514
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,4 +157,8 @@ TEST_F(CLASSNAME(TestGetNodeNames, RMW_IMPLEMENTATION), test_rcl_get_node_names)
ret = rcl_node_fini(node4_ptr); ret = rcl_node_fini(node4_ptr);
delete node4_ptr; delete node4_ptr;
EXPECT_EQ(RCL_RET_OK, ret) << rcl_get_error_string().str; EXPECT_EQ(RCL_RET_OK, ret) << rcl_get_error_string().str;
ret = rcl_node_fini(node5_ptr);
delete node5_ptr;
EXPECT_EQ(RCL_RET_OK, ret) << rcl_get_error_string().str;
} }