mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse: handle memory user_data of NULL
This commit is contained in:
parent
35376fc415
commit
94c23b7ed1
1 changed files with 2 additions and 1 deletions
|
|
@ -1561,7 +1561,8 @@ pa_operation* pa_stream_flush(pa_stream *s, pa_stream_success_cb_t cb, void *use
|
|||
spa_list_remove(&m->link);
|
||||
spa_list_append(&s->free, &m->link);
|
||||
m->user_data = NULL;
|
||||
b->user_data = NULL;
|
||||
if (b)
|
||||
b->user_data = NULL;
|
||||
}
|
||||
s->ready_bytes = 0;
|
||||
s->timing_info.write_index = s->timing_info.read_index = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue