mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-21 08:56:46 -05:00
modernize hashmap implementation a bit, reduce memory consumption a bit
This commit is contained in:
parent
6dca92be96
commit
c26be0d762
6 changed files with 112 additions and 74 deletions
|
|
@ -615,7 +615,7 @@ void pa__done(pa_module*m) {
|
|||
if (u->services) {
|
||||
struct service *s;
|
||||
|
||||
while ((s = pa_hashmap_get_first(u->services)))
|
||||
while ((s = pa_hashmap_first(u->services)))
|
||||
service_free(s);
|
||||
|
||||
pa_hashmap_free(u->services, NULL, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue