Fix: UTF-8 characters may be stored on up to 4 bytes
[lttng-tools.git] / src / bin / lttng-sessiond / agent.c
index 0821630865106182365cd404fecaf0cd9bcb64cc..9ec98167eb5a3c4db7c6f428cca926ac6b2f42d6 100644 (file)
@@ -967,14 +967,6 @@ void agent_destroy(struct agent *agt)
 
        DBG3("Agent destroy");
 
-       /*
-        * Just ignore if no events hash table exists. This is possible if for
-        * instance an agent object was allocated but not initialized.
-        */
-       if (!agt->events) {
-               return;
-       }
-
        rcu_read_lock();
        cds_lfht_for_each_entry(agt->events->ht, &iter.iter, node, node) {
                int ret;
This page took 0.024568 seconds and 4 git commands to generate.