mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
more cleanups
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@11 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
c8cf0c1ce9
commit
5ce204829f
13 changed files with 162 additions and 39 deletions
|
|
@ -119,6 +119,8 @@ void memblockq_drop(struct memblockq *bq, size_t length) {
|
|||
|
||||
q = bq->blocks;
|
||||
bq->blocks = bq->blocks->next;
|
||||
if (bq->blocks == NULL)
|
||||
bq->blocks_tail = NULL;
|
||||
memblock_unref(q->chunk.memblock);
|
||||
free(q);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue