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