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.8.0-rc1~444 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=992febc7ef93545b1b23033ca14fe4a2afbb228b;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 c43819165..adca25ac1 100644 --- a/src/bin/lttng-sessiond/agent.c +++ b/src/bin/lttng-sessiond/agent.c @@ -163,7 +163,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); } /*