mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
sink-input: Make sure the process_underrun callback is cleared
Otherwise sink unlinking could cause a segfault. Reported-by: heftig Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
a560cf3b67
commit
2135b2b34f
1 changed files with 1 additions and 0 deletions
|
|
@ -254,6 +254,7 @@ static void reset_callbacks(pa_sink_input *i) {
|
|||
pa_assert(i);
|
||||
|
||||
i->pop = NULL;
|
||||
i->process_underrun = NULL;
|
||||
i->process_rewind = NULL;
|
||||
i->update_max_rewind = NULL;
|
||||
i->update_max_request = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue