From: Jérémie Galarneau Date: Sun, 30 Aug 2015 22:32:47 +0000 (-0400) Subject: Fix: Memory leak of agent event internals X-Git-Tag: v2.6.1~65 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4715a5ffd11736cffc73d5f16f11bf9ff9b4d763;p=lttng-tools.git Fix: Memory leak of agent event internals Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/agent.c b/src/bin/lttng-sessiond/agent.c index 29541ac23..3e70701b2 100644 --- a/src/bin/lttng-sessiond/agent.c +++ b/src/bin/lttng-sessiond/agent.c @@ -124,7 +124,7 @@ static void destroy_event_agent_rcu(struct rcu_head *head) struct agent_event *event = caa_container_of(node, struct agent_event, node); - free(event); + agent_destroy_event(event); } /*