mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -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
|
|
@ -1498,9 +1498,9 @@ static void free_verb(pa_alsa_ucm_verb *verb) {
|
|||
PA_LLIST_REMOVE(pa_alsa_ucm_device, verb->devices, di);
|
||||
pa_proplist_free(di->proplist);
|
||||
if (di->conflicting_devices)
|
||||
pa_idxset_free(di->conflicting_devices, NULL, NULL);
|
||||
pa_idxset_free(di->conflicting_devices, NULL);
|
||||
if (di->supported_devices)
|
||||
pa_idxset_free(di->supported_devices, NULL, NULL);
|
||||
pa_idxset_free(di->supported_devices, NULL);
|
||||
pa_xfree(di);
|
||||
}
|
||||
|
||||
|
|
@ -1552,7 +1552,7 @@ void pa_alsa_ucm_mapping_context_free(pa_alsa_ucm_mapping_context *context) {
|
|||
dev->capture_mapping = NULL;
|
||||
}
|
||||
|
||||
pa_idxset_free(context->ucm_devices, NULL, NULL);
|
||||
pa_idxset_free(context->ucm_devices, NULL);
|
||||
}
|
||||
|
||||
if (context->ucm_modifiers) {
|
||||
|
|
@ -1563,7 +1563,7 @@ void pa_alsa_ucm_mapping_context_free(pa_alsa_ucm_mapping_context *context) {
|
|||
mod->capture_mapping = NULL;
|
||||
}
|
||||
|
||||
pa_idxset_free(context->ucm_modifiers, NULL, NULL);
|
||||
pa_idxset_free(context->ucm_modifiers, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue