Fix: release reference to ltt_session on error instead of free()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Feb 2019 03:05:32 +0000 (22:05 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Mar 2019 18:41:05 +0000 (14:41 -0400)
Since ltt_session objects within the session daemon are now
reference counted, it is more appropriate to release a reference
on error rather than calling free() directly in session_create().

The session_release() function also performs additional that can
be needed in some of the error paths of session_create().

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

No differences found
This page took 0.027984 seconds and 5 git commands to generate.