From 9b6ae25b0e3245ec7f842584e8f77070aa6919f3 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 18 Apr 2016 22:26:40 -0400 Subject: [PATCH] Fix: lttng-live use g_free rather than free MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit g_new0 should be paired with g_free. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- formats/lttng-live/lttng-live-plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formats/lttng-live/lttng-live-plugin.c b/formats/lttng-live/lttng-live-plugin.c index adb7249d..bf71b2bf 100644 --- a/formats/lttng-live/lttng-live-plugin.c +++ b/formats/lttng-live/lttng-live-plugin.c @@ -307,7 +307,7 @@ int lttng_live_close_trace(struct bt_trace_descriptor *td) struct ctf_text_stream_pos *pos = container_of(td, struct ctf_text_stream_pos, trace_descriptor); - free(pos); + g_free(pos); return 0; } -- 2.34.1