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:58:03 +0000 (10:58 -0400)
commit3308655a7e594e7d8e59146f77f18a767599538d
treee4e12ef658860ee0341e09b443f3cdd5d38166ae
parentdfd6e9d757670c41bdda3bc895829d6080962322
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.cpp
This page took 0.024869 seconds and 4 git commands to generate.