mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
use the bight lighter _silence() instead of _flush() when destructing our little q
This commit is contained in:
parent
dd8b909532
commit
ec10f5fdd3
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ pa_memblockq* pa_memblockq_new(
|
|||
void pa_memblockq_free(pa_memblockq* bq) {
|
||||
pa_assert(bq);
|
||||
|
||||
pa_memblockq_flush(bq);
|
||||
pa_memblockq_silence(bq);
|
||||
|
||||
if (bq->silence.memblock)
|
||||
pa_memblock_unref(bq->silence.memblock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue