]> code.delx.au - pulseaudio/commit
alsa-mixer: Don't use dangling pointers as port hashmap keys
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 15 Feb 2012 15:51:31 +0000 (16:51 +0100)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Sun, 19 Feb 2012 17:15:41 +0000 (22:45 +0530)
commit13a84d0747c9fe114850477460f2ac68cba0c4b6
treeabe500967b0dfb226b7e33f0aea8f7096f020586
parente91e78bb54456eda7f815afdb25857fe0887de22
alsa-mixer: Don't use dangling pointers as port hashmap keys

If alsa settings/options were used, the string to construct the
name was freed, leading to dangling pointers to strings inside
the hashmap.

BugLink: https://bugs.launchpad.net/bugs/932804
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/alsa/alsa-mixer.c