mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
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:
parent
2902cdc4ca
commit
69af1a713d
1 changed files with 0 additions and 1 deletions
|
|
@ -778,7 +778,6 @@ static void ucm_add_port_combination(
|
||||||
|
|
||||||
pa_hashmap_put(ports, port->name, port);
|
pa_hashmap_put(ports, port->name, port);
|
||||||
pa_log_debug("Add port %s: %s", port->name, port->description);
|
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;
|
port->priority = priority;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue