X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fmain.c;h=7b313818e5c09a5719339740f47b2787304d461b;hb=06a6840183b2f0415d4843313ba50c1562d5f212;hp=dc19a69c77a548df81fffc2aa7e44affd12279b4;hpb=6ba5305c8ec548191f30c9e0c540faeb1977252a;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index dc19a69c7..7b313818e 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -2680,6 +2680,11 @@ error: destroy_conn, sock_n.node) { health_code_update(); + + if (session_abort(destroy_conn->session)) { + assert(0); + } + /* * No need to grab another ref, because we own * destroy_conn.