mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
pulse: Fix old bug in stream_free
Signed-off-by: Maarten Lankhorst<m.b.lankhorst@gmail.com>
This commit is contained in:
parent
aed3b6f9df
commit
e91e78bb54
1 changed files with 3 additions and 2 deletions
|
|
@ -284,8 +284,9 @@ static void stream_free(pa_stream *s) {
|
|||
stream_unlink(s);
|
||||
|
||||
if (s->write_memblock) {
|
||||
pa_memblock_release(s->write_memblock);
|
||||
pa_memblock_unref(s->write_data);
|
||||
if (s->write_data)
|
||||
pa_memblock_release(s->write_memblock);
|
||||
pa_memblock_unref(s->write_memblock);
|
||||
}
|
||||
|
||||
if (s->peek_memchunk.memblock) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue