Fix: tests: leak of prefix on error to register lttng namespace
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 25 Sep 2019 20:55:35 +0000 (16:55 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 25 Sep 2019 20:57:48 +0000 (16:57 -0400)
commit0916f272a91b4e8840bc11b4c0efb883c089e16a
tree51392c3e5453a08d16cc60e2f01b2e5b9e1d8be9
parentbf7886d8856443676d98326022583baddc81297e
Fix: tests: leak of prefix on error to register lttng namespace

prefix should always be free'd in this function.

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

In register_lttng_namespace: 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>
tests/regression/tools/mi/extract_xml.c
This page took 0.031347 seconds and 4 git commands to generate.