Fix: missing `_mutex_lock()` before signaling a condition variable
[lttng-tools.git] / src / bin / lttng-sessiond / session.c
index a4d1163399e7cd74975b754b8c51160d1eb189f1..6eda624efad6f784c79cc96f66c5a22c5ceff36b 100644 (file)
@@ -989,6 +989,7 @@ void session_release(struct urcu_ref *ref)
                 * Broadcast after free-ing to ensure the memory is
                 * reclaimed before the main thread exits.
                 */
+               ASSERT_LOCKED(ltt_session_list.lock);
                pthread_cond_broadcast(&ltt_session_list.removal_cond);
        }
 }
This page took 0.022978 seconds and 4 git commands to generate.