mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
context: don't leak device port info
This commit is contained in:
parent
a956c265a2
commit
734dc72bf2
1 changed files with 2 additions and 0 deletions
|
|
@ -734,6 +734,8 @@ static void device_clear_ports(struct global *g)
|
|||
i->ports = NULL;
|
||||
free(g->card_info.card_ports);
|
||||
g->card_info.card_ports = NULL;
|
||||
free(g->card_info.port_devices);
|
||||
g->card_info.port_devices = NULL;
|
||||
}
|
||||
|
||||
static void device_sync_ports(struct global *g)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue