[pulseaudio-commits] src/modules

David Henningsson diwic at kemper.freedesktop.org
Mon Oct 26 02:15:29 PDT 2015


 src/modules/alsa/alsa-ucm.c |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 69af1a713d784fb8cc10664105dbe785441c79a9
Author: Tanu Kaskinen <tanuk at iki.fi>
Date:   Fri Oct 23 13:56:40 2015 +0300

    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.

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;



More information about the pulseaudio-commits mailing list