summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/memblock.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-06-27 20:12:24 +0200
committerLennart Poettering <lennart@poettering.net>2008-06-27 20:12:24 +0200
commitc26be0d7623434a4595071f8ea7c55aeb240fcca (patch)
tree2a99f2d9e35b6c55671cf369972fd74af701df86 /src/pulsecore/memblock.c
parent6dca92be9696d6e3b5d4dfe28c6156f73f730dd4 (diff)
modernize hashmap implementation a bit, reduce memory consumption a bit
Diffstat (limited to 'src/pulsecore/memblock.c')
-rw-r--r--src/pulsecore/memblock.c2
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);