X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fagent.c;h=eb3ab1a44df9ce89a4541bb69001427cda84e92a;hp=5cb8336c361d4377973b365608ec603597564afe;hb=6c1c0768320135c6936c371b09731851b508c023;hpb=0e1155633b00241b8b1e5a9bb683cf91b28f5eeb diff --git a/src/bin/lttng-sessiond/agent.c b/src/bin/lttng-sessiond/agent.c index 5cb8336c3..eb3ab1a44 100644 --- a/src/bin/lttng-sessiond/agent.c +++ b/src/bin/lttng-sessiond/agent.c @@ -16,6 +16,7 @@ */ #define _GNU_SOURCE +#define _LGPL_SOURCE #include #include @@ -955,7 +956,7 @@ void agent_destroy(struct agent *agt) } rcu_read_unlock(); - lttng_ht_destroy(agt->events); + ht_cleanup_push(agt->events); } /*