From cbdbc8fa8f0ac6eddaa767c891f6d88a62cac001 Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Tue, 8 Jun 2021 15:15:00 -0400 Subject: [PATCH] Fix: double mutex_unlock() if session is deleted MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau Change-Id: I9e640396c12496b6d6c191e838dab138679d5f5e --- src/bin/lttng-sessiond/ust-app.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond/ust-app.c index f222ebdb6..a1c681143 100644 --- a/src/bin/lttng-sessiond/ust-app.c +++ b/src/bin/lttng-sessiond/ust-app.c @@ -5909,7 +5909,6 @@ void ust_app_synchronize(struct ltt_ust_session *usess, pthread_mutex_lock(&ua_sess->lock); if (ua_sess->deleted) { - pthread_mutex_unlock(&ua_sess->lock); goto end; } -- 2.34.1