Fix: consumerd: double unlock on rotate channel error path
[lttng-tools.git] / src / common / consumer / consumer.c
index a2e7238d490ac7d417efc87aa9993b0e7314a57e..093f957f2901ef6e9f543d0202b2b38f07b1cffc 100644 (file)
@@ -4362,7 +4362,7 @@ int lttng_consumer_rotate_channel(struct lttng_consumer_channel *channel,
                case OPEN_PACKET_STATUS_ERROR:
                        /* Logged by callee. */
                        ret = -1;
-                       goto end_unlock_stream;
+                       goto end_unlock_channel;
                default:
                        abort();
                }
This page took 0.02618 seconds and 4 git commands to generate.