mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
device-port: Remove pa_device_port_hashmap_free()
This commit is contained in:
parent
8872c238ba
commit
43e7868008
6 changed files with 7 additions and 15 deletions
|
|
@ -133,7 +133,7 @@ void pa_source_new_data_done(pa_source_new_data *data) {
|
|||
pa_proplist_free(data->proplist);
|
||||
|
||||
if (data->ports)
|
||||
pa_device_port_hashmap_free(data->ports);
|
||||
pa_hashmap_free(data->ports, (pa_free_cb_t) pa_device_port_unref);
|
||||
|
||||
pa_xfree(data->name);
|
||||
pa_xfree(data->active_port);
|
||||
|
|
@ -672,7 +672,7 @@ static void source_free(pa_object *o) {
|
|||
pa_proplist_free(s->proplist);
|
||||
|
||||
if (s->ports)
|
||||
pa_device_port_hashmap_free(s->ports);
|
||||
pa_hashmap_free(s->ports, (pa_free_cb_t) pa_device_port_unref);
|
||||
|
||||
pa_xfree(s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue