X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcmd.c;h=1b0270e3147e5640055a7b676f434aa92d6262f9;hb=d9a1fd3e4a81c4d74ee555401fa18e4bb21f21ee;hp=51b73bc4e6d02f22d60163b430f9a16f20fea8fa;hpb=d133f6d7bba25fb5662108987a929abbfcaabc7f;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index 51b73bc4e..1b0270e31 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -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;