X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng-sessiond%2Fchannel.c;h=b4dc48d161e662f12678e5d8de900e5a7c2761b0;hp=7ff974da05930c772b5734e1e7de3d4098766df8;hb=24d1723f7e614f74b6957ad3f3666a5713664d63;hpb=6065ceec9574bf18eb79ae707f627322f2713d18 diff --git a/lttng-sessiond/channel.c b/lttng-sessiond/channel.c index 7ff974da0..b4dc48d16 100644 --- a/lttng-sessiond/channel.c +++ b/lttng-sessiond/channel.c @@ -266,6 +266,10 @@ int channel_ust_create(struct ltt_ust_session *usess, int domain, return LTTCOMM_OK; error_free_chan: + /* + * No need to remove the channel from the hash table because at this point + * it was not added hence the direct call and no call_rcu(). + */ trace_ust_destroy_channel(uchan); error: free(defattr);