Fix: agent events HT should be destroyed from the cleanup thread
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 15 Nov 2014 04:35:45 +0000 (23:35 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 15 Nov 2014 04:37:08 +0000 (23:37 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/agent.c

index 5cb8336c361d4377973b365608ec603597564afe..d7bc1b55c698a8d4e490bb8c06df4128da1b9bb2 100644 (file)
@@ -955,7 +955,7 @@ void agent_destroy(struct agent *agt)
        }
        rcu_read_unlock();
 
-       lttng_ht_destroy(agt->events);
+       ht_cleanup_push(agt->events);
 }
 
 /*
This page took 0.026184 seconds and 4 git commands to generate.