From 7abd214f2aa0a297d7a998693765b0c120bab086 Mon Sep 17 00:00:00 2001 From: Abby Xu <30247381+xabxx@users.noreply.github.com> Date: Thu, 9 May 2019 13:36:22 -0700 Subject: [PATCH] Fix leak in rcl context fini (#434) Signed-off-by: Abby Xu --- rcl/src/rcl/context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rcl/src/rcl/context.c b/rcl/src/rcl/context.c index b6af74880d..e9d5695a93 100644 --- a/rcl/src/rcl/context.c +++ b/rcl/src/rcl/context.c @@ -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