Fix: session info reference is not put on unhandled condition type
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 16 Nov 2018 22:27:09 +0000 (17:27 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 16 Nov 2018 22:29:17 +0000 (17:29 -0500)
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 <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/notification-thread-events.c

index 6dc51b5f229455534d95b1c4655881cbc218807b..040ae5f28a355bd235e91ca4630887de823c6b9c 100644 (file)
@@ -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;
This page took 0.027226 seconds and 4 git commands to generate.