Skip to content

Commit

Permalink
Fix leak in rcl context fini (ros2#434)
Browse files Browse the repository at this point in the history
Signed-off-by: Abby Xu <abbyxu@amazon.com>
  • Loading branch information
xabxx authored and jacobperron committed May 9, 2019
1 parent 2815b68 commit 7abd214
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rcl/src/rcl/context.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ __cleanup_context(rcl_context_t * context)
}
allocator.deallocate(context->impl->argv, allocator.state);
}
allocator.deallocate(context->impl, allocator.state);
} // if (NULL != context->impl)

// zero-initialize the context
Expand Down

0 comments on commit 7abd214

Please sign in to comment.