diff --git a/rcl/src/rcl/context.c b/rcl/src/rcl/context.c index b6af74880..e9d5695a9 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