Fix: call acting component's "port disconnected" method too
[babeltrace.git] / lib / component / component.c
index e8c4b5af7c14e2167386c9d1886bfcd2ef20a442..47f83c861d3a17b69eb9ca3669a6472b61f85b63 100644 (file)
@@ -477,7 +477,7 @@ void bt_component_remove_port_at_index(struct bt_component *component,
 
        /* Disconnect both ports of this port's connection, if any */
        if (port->connection) {
-               bt_connection_disconnect_ports(port->connection, component);
+               bt_connection_disconnect_ports(port->connection);
        }
 
        /* Remove from parent's array of ports (weak refs) */
This page took 0.023419 seconds and 4 git commands to generate.