mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
spa: alsa: acp: fix memleak when destroying card profles
This commit is contained in:
parent
33e07cc984
commit
2dcdc80030
4 changed files with 17 additions and 9 deletions
|
|
@ -153,6 +153,8 @@ void pa_device_port_free(pa_device_port *port)
|
|||
pa_xfree(port->availability_group);
|
||||
pa_hashmap_free(port->profiles);
|
||||
pa_proplist_free(port->proplist);
|
||||
if (port->impl_free)
|
||||
port->impl_free (port);
|
||||
free(port);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue