diff options
Diffstat (limited to 'src/pulsecore/memblock.c')
-rw-r--r-- | src/pulsecore/memblock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/memblock.c b/src/pulsecore/memblock.c index 85b92078..b43113d6 100644 --- a/src/pulsecore/memblock.c +++ b/src/pulsecore/memblock.c @@ -693,7 +693,7 @@ pa_mempool* pa_mempool_new(pa_bool_t shared) { PA_LLIST_HEAD_INIT(pa_memimport, p->imports); PA_LLIST_HEAD_INIT(pa_memexport, p->exports); - p->free_slots = pa_flist_new(p->n_blocks*2); + p->free_slots = pa_flist_new(p->n_blocks); return p; } @@ -747,7 +747,7 @@ void pa_mempool_vacuum(pa_mempool *p) { pa_assert(p); - list = pa_flist_new(p->n_blocks*2); + list = pa_flist_new(p->n_blocks); while ((slot = pa_flist_pop(p->free_slots))) while (pa_flist_push(list, slot) < 0) |