X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsession.c;h=6eda624efad6f784c79cc96f66c5a22c5ceff36b;hb=58daac01d91347336f24e1fc1cacd4e7a3101e93;hp=a4d1163399e7cd74975b754b8c51160d1eb189f1;hpb=ff588497b3dfc3138c9ce005e9270ed5568c05df;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/session.c b/src/bin/lttng-sessiond/session.c index a4d116339..6eda624ef 100644 --- a/src/bin/lttng-sessiond/session.c +++ b/src/bin/lttng-sessiond/session.c @@ -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(<t_session_list.removal_cond); } }