From f33a2485f496cbe0105fa91d14c49b41d49eba8d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Fri, 16 Nov 2018 17:27:09 -0500 Subject: [PATCH] Fix: session info reference is not put on unhandled condition type MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This commit is only part of the stable-2.11 branch since the bug results from a bad merge from master. Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/notification-thread-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c index 6dc51b5f2..040ae5f28 100644 --- a/src/bin/lttng-sessiond/notification-thread-events.c +++ b/src/bin/lttng-sessiond/notification-thread-events.c @@ -857,7 +857,7 @@ int evaluate_session_condition_for_client( break; default: ret = 0; - goto end; + goto end_session_put; } *session_uid = session_info->uid; -- 2.34.1