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.12.0-rc1~773 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=490b32296d3048511e82316e497e05ebc3ae8366;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);