mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -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
|
|
@ -2432,7 +2432,7 @@ static pa_hook_result_t uuid_added_cb(pa_bluetooth_discovery *y, const struct pa
|
|||
|
||||
pa_card_add_ports(u->card, new_ports);
|
||||
|
||||
pa_device_port_hashmap_free(new_ports);
|
||||
pa_hashmap_free(new_ports, (pa_free_cb_t) pa_device_port_unref);
|
||||
|
||||
return PA_HOOK_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue