use the bight lighter _silence() instead of _flush() when destructing our little q

This commit is contained in:
Lennart Poettering 2008-06-26 00:33:07 +02:00
parent dd8b909532
commit ec10f5fdd3

View file

@ -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);