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.7.0-rc2~118 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b74786321f24802579aa43d5c10c3161445200c2;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 4342c94db..89f176947 100644 --- a/src/bin/lttng-sessiond/agent.c +++ b/src/bin/lttng-sessiond/agent.c @@ -125,7 +125,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); } /*