Skip to content

Commit

Permalink
aubuf: use mem_pool_flush
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Jan 8, 2025
1 parent 3bb872e commit ee330ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rem/aubuf/aubuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ void aubuf_flush(struct aubuf *ab)
mtx_lock(ab->lock);

list_clear(&ab->afl);
mem_pool_flush(ab->pool);
ab->fill_sz = ab->wish_sz;
ab->cur_sz = 0;
ab->wr_sz = 0;
Expand Down

0 comments on commit ee330ff

Please sign in to comment.