sessiond: fix: memory leak of section name in elf parser
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 15 Sep 2019 19:01:33 +0000 (15:01 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Sep 2019 19:31:49 +0000 (15:31 -0400)
commit0f6c0386d794be9986c9b05b99bd72c327b363cf
tree01da5a8bd13a1c2198149cf23606821cd71e2a13
parentb2d8a465c1a12737e0ed4ec30f3bd59a5c39ca36
sessiond: fix: memory leak of section name in elf parser

lttng_elf_get_section_name() returns a dynamically-allocated section
name. However, lttng_elf_get_section_hdr_by_name() never frees
this returned section name.

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