projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2902cdc
)
alsa-ucm: fix pa_device_port.profiles leak
author
Tanu Kaskinen
<tanuk@iki.fi>
Fri, 23 Oct 2015 10:56:40 +0000
(13:56 +0300)
committer
David Henningsson
<david.henningsson@canonical.com>
Mon, 26 Oct 2015 09:14:57 +0000
(10:14 +0100)
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
patch
|
blob
|
history
diff --git
a/src/modules/alsa/alsa-ucm.c
b/src/modules/alsa/alsa-ucm.c
index
ff5693d
..
42f3242
100644
(file)
--- 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;