Skip to content

Commit 0486cfa

Browse files
committed
address review comments.
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
1 parent 6685b3d commit 0486cfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rmw_microxrcedds_c/src/rmw_init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,14 @@ rmw_init_options_copy(
139139
if (src->enclave != NULL) {
140140
// Expecting this does not happen,
141141
// because rmw_microxrcedds does not support SROS 2 security feature.
142-
ret = rmw_enclave_options_copy(src->enclave, allocator, &dst.enclave);
142+
ret = rmw_enclave_options_copy(src->enclave, allocator, &dst->enclave);
143143
if (RMW_RET_OK != ret) {
144144
return ret;
145145
}
146146
}
147147
rmw_uxrce_mempool_item_t * memory_node = get_memory(&init_options_memory);
148148
if (!memory_node) {
149-
rmw_enclave_options_fini(dst.enclave, allocator);
149+
rmw_enclave_options_fini(dst->enclave, allocator);
150150
// Error already assigned below
151151
RMW_UROS_TRACE_MESSAGE("Not available memory node")
152152
return RMW_RET_ERROR;

0 commit comments

Comments
 (0)