From c26be0d7623434a4595071f8ea7c55aeb240fcca Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 27 Jun 2008 20:12:24 +0200 Subject: modernize hashmap implementation a bit, reduce memory consumption a bit --- src/pulsecore/memblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulsecore/memblock.c') diff --git a/src/pulsecore/memblock.c b/src/pulsecore/memblock.c index c2ee1360..85b92078 100644 --- a/src/pulsecore/memblock.c +++ b/src/pulsecore/memblock.c @@ -845,7 +845,7 @@ void pa_memimport_free(pa_memimport *i) { pa_mutex_lock(i->mutex); - while ((b = pa_hashmap_get_first(i->blocks))) + while ((b = pa_hashmap_first(i->blocks))) memblock_replace_import(b); pa_assert(pa_hashmap_size(i->segments) == 0); -- cgit