aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/alsa_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-04-21 22:47:08 +0200
committerMax Kellermann <max@duempel.org>2009-04-21 22:47:08 +0200
commiteb059a789c1018367c80a5344ccfd834c27fa3d3 (patch)
treebf74af5bada39ea1a8ee0cdf9d2afea29ab310ef /src/output/alsa_plugin.c
parent63710ff5a6fb51715aac83ca9374ef47f97d6120 (diff)
downloadmpd-eb059a789c1018367c80a5344ccfd834c27fa3d3.tar.gz
mpd-eb059a789c1018367c80a5344ccfd834c27fa3d3.tar.xz
mpd-eb059a789c1018367c80a5344ccfd834c27fa3d3.zip
alsa_mixer: call snd_config_update_free_global() in finish()
snd_config_update_free_global() frees cached ALSA configuration. This keeps valgrind a little bit more quiet. This patch moves the call from the open() method into the finish() method, which seems more natural: it allows the use of the config cache, and improves the cleanup phase.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions