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, 8 Sep 2015 13:06:11 +0000 (09:06 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/agent.c

index 4342c94db96adc2955c1070d92cf8d6e81592dd6..89f176947ce24590ebb4075d61eecd2e219798a4 100644 (file)
@@ -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);
 }
 
 /*
This page took 0.025779 seconds and 4 git commands to generate.