-error_put_subbuf:
- ret = kernctl_put_subbuf(stream->wait_fd);
- if (ret < 0) {
- ERR("Snapshot kernctl_put_subbuf error path");
- }
-error_close_stream_output:
- consumer_stream_close_output(stream);
-end_unlock:
- pthread_mutex_unlock(&stream->lock);