Commit 2a11e664 authored by Wim Taymans's avatar Wim Taymans
Browse files

client-node: clear array fields

parent 660d77cf
Pipeline #161782 passed with stages
in 1 minute and 20 seconds
......@@ -527,6 +527,7 @@ clear_port(struct node *this, struct port *port)
pw_array_for_each(mix, &port->mix)
mix_clear(this, mix);
pw_array_init(&port->mix, sizeof(struct mix) * 2);
if (port->direction == SPA_DIRECTION_INPUT) {
if (this->in_ports[port->id] == port) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment