Fix: double mutex_unlock() if session is deleted
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 8 Jun 2021 19:15:00 +0000 (15:15 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 11 Jun 2021 20:52:19 +0000 (16:52 -0400)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I9e640396c12496b6d6c191e838dab138679d5f5e

src/bin/lttng-sessiond/ust-app.c

index f222ebdb6215cd14c7d05cf983e214a2cce63664..a1c681143c90be4afb71390270fb608dcef564e7 100644 (file)
@@ -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;
        }
 
This page took 0.027384 seconds and 4 git commands to generate.