Fix: perf counters context: error handling on type allocation
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Mar 2021 19:24:59 +0000 (15:24 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Mar 2021 19:24:59 +0000 (15:24 -0400)
commitea8efbbe07e4b524fb308963ff5b0868fa14806f
treea1f7a99ff248dfcc605ad3028ed666fd7bb61d82
parenta9d86fd1c36a680eac282bd982896f78631af3ab
Fix: perf counters context: error handling on type allocation

Found by Coverity:
** CID 1450865:  Resource leaks  (RESOURCE_LEAK)
/liblttng-ust/lttng-context-perf-counters.c: 606 in lttng_add_perf_counter_to_ct)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I9b0cf29ceb4f8c95f0905455cda4c157c7a37165
liblttng-ust/lttng-context-perf-counters.c
This page took 0.026049 seconds and 4 git commands to generate.