X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=191367cd0cd55c55be523cdf139182d4dbe8feca;hp=0661f1264fa0e7fa136a9b4772f302558287ab56;hb=1c20f0e29cbf8627bfb1ff444572d52d6655c4e2;hpb=3c4599b9a5c12ceff19368c6cd51e01d81824726 diff --git a/src/common/consumer.c b/src/common/consumer.c index 0661f1264..191367cd0 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -729,6 +729,7 @@ int consumer_send_relayd_stream(struct lttng_consumer_stream *stream, if (ret < 0) { goto end; } + uatomic_inc(&relayd->refcount); stream->sent_to_relayd = 1; } else {