Fix: lttng: list-trigger: leak of error query in query callbacks
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 5 Jul 2021 18:18:27 +0000 (14:18 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 6 Jul 2021 21:48:00 +0000 (17:48 -0400)
commit7163713018cfa78aa7dc6b58dcac8c6a16ff8e24
treea29093e3bb28b0823dabc44c0c8022a3b193c652
parent4627fa543a2eb65d7b046b18e015986f45de5835
Fix: lttng: list-trigger: leak of error query in query callbacks

1457841 Resource leak

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

In mi_error_query_trigger_callback: 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: I4e2cde41d77e5299d1758e8c9387b0a1c63efd17
src/bin/lttng/commands/list_triggers.c
This page took 0.025908 seconds and 4 git commands to generate.