From: Mathieu Desnoyers Date: Tue, 19 Apr 2016 02:26:40 +0000 (-0400) Subject: Fix: lttng-live use g_free rather than free X-Git-Tag: v2.0.0-pre1~1040 X-Git-Url: https://git.efficios.com/?a=commitdiff_plain;h=94f6b907bffe65ba0d5f94a7d79b90a887702be4;p=babeltrace.git Fix: lttng-live use g_free rather than free g_new0 should be paired with g_free. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- 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; }