port: don't keep port_info around but make copy

This commit is contained in:
Wim Taymans 2018-10-08 13:00:18 +02:00
parent e1ec1bad23
commit 63333adca3
4 changed files with 15 additions and 11 deletions

View file

@ -1056,6 +1056,7 @@ client_node_port_update(void *data,
if (port == NULL) {
target = &this->dummy;
spa_zero(this->dummy);
target->id = port_id;
}
else
target = port;