Fix leak in rcl context fini (#434)
Signed-off-by: Abby Xu <abbyxu@amazon.com>
This commit is contained in:
parent
2815b6876f
commit
7abd214f2a
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ __cleanup_context(rcl_context_t * context)
|
||||||
}
|
}
|
||||||
allocator.deallocate(context->impl->argv, allocator.state);
|
allocator.deallocate(context->impl->argv, allocator.state);
|
||||||
}
|
}
|
||||||
|
allocator.deallocate(context->impl, allocator.state);
|
||||||
} // if (NULL != context->impl)
|
} // if (NULL != context->impl)
|
||||||
|
|
||||||
// zero-initialize the context
|
// zero-initialize the context
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue