pa_device_port.profiles is initialized in pa_device_port_new(), so no need to do that in alsa-ucm.c. --- src/modules/alsa/alsa-ucm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/alsa/alsa-ucm.c b/src/modules/alsa/alsa-ucm.c index ff5693d..42f3242 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; -- 2.6.1