Fix: sessiond: registry_channel: initialize _rcu_head and _node
[lttng-tools.git] / src / bin / lttng-sessiond / ust-registry-channel.cpp
index a2a1707dcbc180b3508c900b6fc0ff97bb982e9b..e7fe73971391c60cca06537bbc830701746e999a 100644 (file)
@@ -99,6 +99,13 @@ lsu::registry_channel::registry_channel(unsigned int channel_id,
        /* Set custom match function. */
        _events->match_fct = ht_match_event;
        _events->hash_fct = ht_hash_event;
+
+       _rcu_head = {};
+       /*
+        * Node's key is initialized by the channel's parent session. Its value is irrelevant to the
+        * channel object itself.
+        */
+       _node = {};
 }
 
 void lsu::registry_channel::add_event(
This page took 0.023248 seconds and 4 git commands to generate.