Fix: return NULL on trace chunk registry failure
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 9 Sep 2019 14:46:21 +0000 (10:46 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Sep 2019 19:31:48 +0000 (15:31 -0400)
commit4e42a5ac4102053ced991911a781be77959ddf55
tree82e9f26bd4b4b5d9817861334f146c0227ccac87
parent512328e6bbf75d043d199515c255a34365d4e8a2
Fix: return NULL on trace chunk registry failure

A free'd registry object can be returned in the error paths
of lttng_trace_chunk_registry_create(). Right now, this happens
whenever the allocation of the registry's hash table fails.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/trace-chunk.c
This page took 0.02502 seconds and 4 git commands to generate.