Add missing node destruction (#601)
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
This commit is contained in:
parent
00f3acc8d1
commit
43a4e65514
1 changed files with 4 additions and 0 deletions
|
@ -157,4 +157,8 @@ TEST_F(CLASSNAME(TestGetNodeNames, RMW_IMPLEMENTATION), test_rcl_get_node_names)
|
|||
ret = rcl_node_fini(node4_ptr);
|
||||
delete node4_ptr;
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue