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>
Mon, 9 Sep 2019 14:47:40 +0000 (10:47 -0400)
commit8243bf1242a85b68217f36784948ed752c9b7325
treee1e25c61249d2284d29266e4e6b8f2b64d814b9f
parentaf0c318df128a05e708f704ec21c5d3cf8e314fa
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.026038 seconds and 4 git commands to generate.