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>
Wed, 23 Sep 2015 19:59:53 +0000 (15:59 -0400)
commitb7d4697229a632cc7ee7c36bf333636682944444
treea1ffc32f14339d7a2d7bdb912b7755beaf0ee66a
parent4715a5ffd11736cffc73d5f16f11bf9ff9b4d763
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.025639 seconds and 4 git commands to generate.