X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fmain.c;h=2714f783bcc97768063ff3f01605f1c9dc55688f;hb=b61fd45ab0dc889334561653c4da6c0f6e5e41ff;hp=c61180f13e3ed695b876fd5932bc3ca242e164cc;hpb=a837d60e6ef365c87361a4486087e40a791a4e5f;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index c61180f13..2714f783b 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.