Fix: lttng-elf: wrong error label used by error path
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 Mar 2022 14:58:03 +0000 (10:58 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 Mar 2022 14:59:35 +0000 (10:59 -0400)
commit04689d6374bfe2e94aa6994fc85fd05b6afab7b8
tree97136fe50d3aec8c5465b4a832dbbb322eb63eac
parentbd5637954920c9b2c48600638f966247a2f5d4ef
Fix: lttng-elf: wrong error label used by error path

1486805 Resource leak
The system resource will not be reclaimed and reused, reducing the future availability of the resource.

In lttng_elf_get_symbol_offset: Leak of memory or pointers to system resources (CWE-404)

Reported-by: Coverity Scan
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I78b868773b389c2eaf3f1d45151fe9416b1fe447
src/common/lttng-elf.c
This page took 0.026556 seconds and 4 git commands to generate.