Fix: Memory leak of agent
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 30 Aug 2015 22:50:39 +0000 (18:50 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Sep 2015 13:06:18 +0000 (09:06 -0400)
commit9fe73c3c8fef5b0d2d958e733e8b39d9eef60600
treeebc49d9c71108b43751a0aae1fe8615dba3ed2eb
parentb74786321f24802579aa43d5c10c3161445200c2
Fix: Memory leak of agent

agent_destroy() has a comment which indicates that it does _not_
destroy the pointer passed to it and it seems that agents are
never realeased under any code path whatsoever.

There does not seem to be an instance where an agent is allocated on
the stack.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/agent.c
This page took 0.027058 seconds and 4 git commands to generate.