Fix leak in rcl context fini (#434)

Signed-off-by: Abby Xu <abbyxu@amazon.com>
This commit is contained in:
Abby Xu 2019-05-09 13:36:22 -07:00 committed by Jacob Perron
parent 2815b6876f
commit 7abd214f2a

View file

@ -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