[lttng-dev] [PATCH babeltrace-1.5 3/6] Fix: lttng-live: lttng_live_open_trace_read memory leak
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Thu Dec 5 01:58:06 EST 2019
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
---
formats/lttng-live/lttng-live-plugin.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/formats/lttng-live/lttng-live-plugin.c b/formats/lttng-live/lttng-live-plugin.c
index ed52a995..0bebdd89 100644
--- a/formats/lttng-live/lttng-live-plugin.c
+++ b/formats/lttng-live/lttng-live-plugin.c
@@ -288,6 +288,7 @@ static int lttng_live_open_trace_read(const char *path)
}
end_free:
+ g_array_free(ctx->session_ids, TRUE);
g_hash_table_destroy(ctx->session->ctf_traces);
free_session_streams(ctx->session);
g_free(ctx->session);
--
2.17.1
More information about the lttng-dev
mailing list