mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -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
|
|
@ -449,7 +449,7 @@ static void setting_free(pa_alsa_setting *s) {
|
|||
pa_assert(s);
|
||||
|
||||
if (s->options)
|
||||
pa_idxset_free(s->options, NULL, NULL);
|
||||
pa_idxset_free(s->options, NULL);
|
||||
|
||||
pa_xfree(s->name);
|
||||
pa_xfree(s->description);
|
||||
|
|
@ -3289,10 +3289,10 @@ static void profile_free(pa_alsa_profile *p) {
|
|||
pa_xstrfreev(p->output_mapping_names);
|
||||
|
||||
if (p->input_mappings)
|
||||
pa_idxset_free(p->input_mappings, NULL, NULL);
|
||||
pa_idxset_free(p->input_mappings, NULL);
|
||||
|
||||
if (p->output_mappings)
|
||||
pa_idxset_free(p->output_mappings, NULL, NULL);
|
||||
pa_idxset_free(p->output_mappings, NULL);
|
||||
|
||||
pa_xfree(p);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue