mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-22 08:56:52 -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
|
|
@ -659,7 +659,7 @@ static void source_free(pa_object *o) {
|
|||
|
||||
pa_log_info("Freeing source %u \"%s\"", s->index, s->name);
|
||||
|
||||
pa_idxset_free(s->outputs, NULL, NULL);
|
||||
pa_idxset_free(s->outputs, NULL);
|
||||
pa_hashmap_free(s->thread_info.outputs, (pa_free_cb_t) pa_source_output_unref);
|
||||
|
||||
if (s->silence.memblock)
|
||||
|
|
@ -2801,7 +2801,7 @@ pa_bool_t pa_source_check_format(pa_source *s, pa_format_info *f)
|
|||
}
|
||||
}
|
||||
|
||||
pa_idxset_free(formats, (pa_free2_cb_t) pa_format_info_free2, NULL);
|
||||
pa_idxset_free(formats, (pa_free_cb_t) pa_format_info_free);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
@ -2831,7 +2831,7 @@ pa_idxset* pa_source_check_formats(pa_source *s, pa_idxset *in_formats) {
|
|||
|
||||
done:
|
||||
if (source_formats)
|
||||
pa_idxset_free(source_formats, (pa_free2_cb_t) pa_format_info_free2, NULL);
|
||||
pa_idxset_free(source_formats, (pa_free_cb_t) pa_format_info_free);
|
||||
|
||||
return out_formats;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue