From: Jérémie Galarneau Date: Fri, 16 Nov 2018 22:27:09 +0000 (-0500) Subject: Fix: session info reference is not put on unhandled condition type X-Git-Tag: v2.11.0-rc2~151 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f33a2485f496cbe0105fa91d14c49b41d49eba8d;p=lttng-tools.git Fix: session info reference is not put on unhandled condition type 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 --- 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;