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>
Sun, 16 Nov 2014 12:21:21 +0000 (07:21 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/agent.c

index 1c1c6ab18ad4fc341f805288de1092f667bedb85..ca28f1b7801bd8ac8693bff35f239a4d3bc12e63 100644 (file)
@@ -953,7 +953,7 @@ void agent_destroy(struct agent *agt)
        }
        rcu_read_unlock();
 
-       lttng_ht_destroy(agt->events);
+       ht_cleanup_push(agt->events);
 }
 
 /*
This page took 0.025446 seconds and 4 git commands to generate.