mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-17 05:33:50 -04:00
idxset: Use pa_free_cb_t instead of pa_free2_cb_t
There were no users for the userdata pointer.
This commit is contained in:
parent
43e7868008
commit
061878b5a4
27 changed files with 81 additions and 119 deletions
|
|
@ -233,9 +233,9 @@ void pa_card_free(pa_card *c) {
|
|||
pa_subscription_post(c->core, PA_SUBSCRIPTION_EVENT_CARD|PA_SUBSCRIPTION_EVENT_REMOVE, c->index);
|
||||
|
||||
pa_assert(pa_idxset_isempty(c->sinks));
|
||||
pa_idxset_free(c->sinks, NULL, NULL);
|
||||
pa_idxset_free(c->sinks, NULL);
|
||||
pa_assert(pa_idxset_isempty(c->sources));
|
||||
pa_idxset_free(c->sources, NULL, NULL);
|
||||
pa_idxset_free(c->sources, NULL);
|
||||
|
||||
pa_hashmap_free(c->ports, (pa_free_cb_t) pa_device_port_unref);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue