It should not fini its output argument, silently invalidating the given pointer. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
This commit is contained in:
parent
c5e903a38a
commit
a26c9cf575
2 changed files with 5 additions and 8 deletions
|
@ -1801,12 +1801,7 @@ bool rcl_parse_yaml_file(
|
|||
allocator.deallocate(ns_tracker.parameter_ns, allocator.state);
|
||||
}
|
||||
|
||||
if (RCUTILS_RET_OK != ret) {
|
||||
rcl_yaml_node_struct_fini(params_st);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return RCUTILS_RET_OK == ret;
|
||||
}
|
||||
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue