Skip to content

Commit

Permalink
update usage of rcutils_join_path()
Browse files Browse the repository at this point in the history
  • Loading branch information
wjwwood committed Jun 16, 2018
1 parent a33f9f8 commit 16827a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rmw_fastrtps_cpp/src/rmw_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ get_security_file_paths(
std::string file_prefix("file://");

for (size_t i = 0; i < num_files; i++) {
char * file_path = rcutils_join_path(node_secure_root, file_names[i]);
rcutils_allocator_t allocator = rcutils_get_default_allocator();
char * file_path = rcutils_join_path(node_secure_root, file_names[i], allocator);

if (!file_path) {
return false;
Expand Down

0 comments on commit 16827a4

Please sign in to comment.