diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2015-10-23 13:56:40 +0300 |
---|---|---|
committer | Arun Raghavan <git@arunraghavan.net> | 2015-10-30 17:58:03 +0530 |
commit | 86f172ffeeb46aafdf407deb1b9d939fe6a527ff (patch) | |
tree | 7893303df9ac4fac9aebfe397390febc74d14f4c | |
parent | 4e2fae5719faf478eda5ac4d9aed3dd29c1c26a9 (diff) | |
download | pulseaudio-86f172ffeeb46aafdf407deb1b9d939fe6a527ff.tar.gz |
alsa-ucm: fix pa_device_port.profiles leak
pa_device_port.profiles is initialized in pa_device_port_new(), so no
need to do that in alsa-ucm.c.
-rw-r--r-- | src/modules/alsa/alsa-ucm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/alsa/alsa-ucm.c b/src/modules/alsa/alsa-ucm.c index ff5693d96..42f3242e4 100644 --- a/src/modules/alsa/alsa-ucm.c +++ b/src/modules/alsa/alsa-ucm.c @@ -778,7 +778,6 @@ static void ucm_add_port_combination( pa_hashmap_put(ports, port->name, port); pa_log_debug("Add port %s: %s", port->name, port->description); - port->profiles = pa_hashmap_new(pa_idxset_string_hash_func, pa_idxset_string_compare_func); } port->priority = priority; |