Fix: add UST context in the same order the user enabled them
[lttng-tools.git] / src / bin / lttng-sessiond / ust-registry.c
index 298ddbb6a9326c8355a98045d254de439e81785f..e22fc6fcfbfc93246172db98e398be6783b99285 100644 (file)
@@ -556,8 +556,6 @@ void ust_registry_session_destroy(struct ust_registry_session *reg)
        }
        rcu_read_unlock();
 
-       if (reg->channels) {
-               ht_cleanup_push(reg->channels);
-       }
+       ht_cleanup_push(reg->channels);
        free(reg->metadata);
 }
This page took 0.042249 seconds and 4 git commands to generate.