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.
This commit is contained in:
Tanu Kaskinen 2015-10-23 13:56:40 +03:00 committed by David Henningsson
parent 2902cdc4ca
commit 69af1a713d

View file

@ -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;