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>
Wed, 7 Jul 2021 21:31:33 +0000 (17:31 -0400)
commit82f1ada0c72f32198c0b1c6dc804316e41ddac13
tree6bf0f6ed90c3be151464848a81d4728df27a3931
parent1e0b19a257a7fe8307103757def955010cb5a03e
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.025631 seconds and 4 git commands to generate.