Fix: lttng-live use g_free rather than free
A message that is not in the archive (sent off-list or not yet received): [email protected]
Merged in master and stable-1.3.
Thanks!
Jérémie
Quoted 23 lines · Mathieu Desnoyers
g_new0should be paired withg_free.Signed-off-by Mathieu Desnoyers <[email protected]>--- formats/lttng-live/lttng-live-plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)formats/lttng-live/lttng-live-plugin.c +1
-2@@ -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.1.4
Signature · 7 lines
Jérémie Galarneau EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev