From: Jérémie Galarneau Date: Sat, 15 Nov 2014 04:35:45 +0000 (-0500) Subject: Fix: agent events HT should be destroyed from the cleanup thread X-Git-Tag: v2.6.0-rc4~59 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6fe6fff5dc776162da069b1c2377cf94bc26178d;p=lttng-tools.git Fix: agent events HT should be destroyed from the cleanup thread Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/agent.c b/src/bin/lttng-sessiond/agent.c index 1c1c6ab18..ca28f1b78 100644 --- a/src/bin/lttng-sessiond/agent.c +++ b/src/bin/lttng-sessiond/agent.c @@ -953,7 +953,7 @@ void agent_destroy(struct agent *agt) } rcu_read_unlock(); - lttng_ht_destroy(agt->events); + ht_cleanup_push(agt->events); } /*