From: Jérémie Galarneau Date: Mon, 12 Nov 2018 22:26:46 +0000 (-0500) Subject: Fix: condition unsubscription error leaves session locked X-Git-Tag: v2.11.0-rc2~187 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=44998ac699943b291ca1f272830d482a47f8fbc8;p=lttng-tools.git Fix: condition unsubscription error leaves session locked Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/rotation-thread.c b/src/bin/lttng-sessiond/rotation-thread.c index 2e9796cc2..df70f8fd5 100644 --- a/src/bin/lttng-sessiond/rotation-thread.c +++ b/src/bin/lttng-sessiond/rotation-thread.c @@ -815,7 +815,7 @@ int handle_condition(const struct lttng_condition *condition, ret = unsubscribe_session_consumed_size_rotation(session, notification_thread_handle); if (ret) { - goto end; + goto end_unlock; } ret = cmd_rotate_session(session, NULL);