diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-06-27 20:12:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-06-27 20:12:24 +0200 |
commit | c26be0d7623434a4595071f8ea7c55aeb240fcca (patch) | |
tree | 2a99f2d9e35b6c55671cf369972fd74af701df86 /src/pulsecore/memblock.c | |
parent | 6dca92be9696d6e3b5d4dfe28c6156f73f730dd4 (diff) |
modernize hashmap implementation a bit, reduce memory consumption a bit
Diffstat (limited to 'src/pulsecore/memblock.c')
-rw-r--r-- | src/pulsecore/memblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |