Fix: Memory leak of agent event internals
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 30 Aug 2015 22:32:47 +0000 (18:32 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 1 Sep 2015 16:03:08 +0000 (12:03 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/agent.c

index c438191658b848a98ea8ff6172b7a6b3c873b36a..adca25ac1c0ea551a8c2b540917ab5e87a9394b0 100644 (file)
@@ -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);
 }
 
 /*
This page took 0.03388 seconds and 4 git commands to generate.