Fix: sessiond: lttng_channel object is not reclaimed
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.c
index 51b73bc4e6d02f22d60163b430f9a16f20fea8fa..1b0270e3147e5640055a7b676f434aa92d6262f9 100644 (file)
@@ -3805,6 +3805,7 @@ enum lttng_error_code cmd_list_channels(enum lttng_domain_type domain,
                        extended->lost_packets = lost_packets;
 
                        ret = lttng_channel_serialize(channel, buffer);
+                       lttng_channel_destroy(channel);
                        if (ret) {
                                ret = -1;
                                break;
This page took 0.024428 seconds and 4 git commands to generate.