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/modules/rtp/module-rtp-recv.c | |
parent | 6dca92be9696d6e3b5d4dfe28c6156f73f730dd4 (diff) |
modernize hashmap implementation a bit, reduce memory consumption a bit
Diffstat (limited to 'src/modules/rtp/module-rtp-recv.c')
-rw-r--r-- | src/modules/rtp/module-rtp-recv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/rtp/module-rtp-recv.c b/src/modules/rtp/module-rtp-recv.c index cff5cf8b..e04e4611 100644 --- a/src/modules/rtp/module-rtp-recv.c +++ b/src/modules/rtp/module-rtp-recv.c @@ -690,7 +690,7 @@ void pa__done(pa_module*m) { pa_sap_context_destroy(&u->sap_context); if (u->by_origin) { - while ((s = pa_hashmap_get_first(u->by_origin))) + while ((s = pa_hashmap_first(u->by_origin))) session_free(s); pa_hashmap_free(u->by_origin, NULL, NULL); |