X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel.c;h=c99c6fd1bbef41ef1f3e571ce969199267d98990;hb=bf82eb3cf93a9f1823493a09ce612c578f1435d7;hp=8dc3f86314d5aab8b94bf623942ec1ee404ad959;hpb=f712b0897400a37cf3fa9abdbc11aa00df1e6993;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/kernel.c b/src/bin/lttng-sessiond/kernel.c index 8dc3f8631..c99c6fd1b 100644 --- a/src/bin/lttng-sessiond/kernel.c +++ b/src/bin/lttng-sessiond/kernel.c @@ -69,6 +69,7 @@ int kernel_add_channel_context(struct ltt_kernel_channel *chan, end: cds_list_add_tail(&ctx->list, &chan->ctx_list); + ctx->in_list = true; ctx = NULL; error: if (ctx) {