X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Frotation-thread.c;h=df70f8fd57e49a19c382b21c69eaf56c1f68047c;hb=c6db3843828a8fbf08444a2bc4191291a4807936;hp=59b7123575eca788add644885a3282acd2719ed3;hpb=9402c5b93a3e3344612a9938878bddb1430a3418;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/rotation-thread.c b/src/bin/lttng-sessiond/rotation-thread.c index 59b712357..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); @@ -922,7 +922,7 @@ void *thread_rotation(void *data) ret = init_thread_state(handle, &thread); if (ret) { - goto end; + goto error; } /* Ready to handle client connections. */