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>
Thu, 26 Sep 2019 16:40:59 +0000 (12:40 -0400)
commit4482e9a8a55289303fb125bcc5b0da5f71a6045b
tree285351619f07d90b92d8a71efda399da3336da5c
parent6a007bc62c409062c645eecad06a866ef35d8f23
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.025229 seconds and 4 git commands to generate.