mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05: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
|
|
@ -103,9 +103,9 @@ void pa_client_free(pa_client *c) {
|
|||
pa_subscription_post(c->core, PA_SUBSCRIPTION_EVENT_CLIENT|PA_SUBSCRIPTION_EVENT_REMOVE, c->index);
|
||||
|
||||
pa_assert(pa_idxset_isempty(c->sink_inputs));
|
||||
pa_idxset_free(c->sink_inputs, NULL, NULL);
|
||||
pa_idxset_free(c->sink_inputs, NULL);
|
||||
pa_assert(pa_idxset_isempty(c->source_outputs));
|
||||
pa_idxset_free(c->source_outputs, NULL, NULL);
|
||||
pa_idxset_free(c->source_outputs, NULL);
|
||||
|
||||
pa_proplist_free(c->proplist);
|
||||
pa_xfree(c->driver);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue