aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_global.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-26 19:50:27 +0100
committerMax Kellermann <max@duempel.org>2009-03-26 19:50:27 +0100
commit239e6da442cd539ffa196edf861891e59fee7f7e (patch)
tree4ec546c7754044948c84684ff96f72114e9b07e8 /src/playlist_global.c
parent6c480d7db43c592d2a174de28a00de5f2c7cf2ba (diff)
downloadmpd-239e6da442cd539ffa196edf861891e59fee7f7e.tar.gz
mpd-239e6da442cd539ffa196edf861891e59fee7f7e.tar.xz
mpd-239e6da442cd539ffa196edf861891e59fee7f7e.zip
pulse_mixer: allocate "volume" statically
The pm->volume attribute was allocated in pulse_mixer_init(), but is never freed. This leaks memory. Instead of adding the g_free() call to pulse_mixer_finish(), let's just make "volume" a static attribute of the pulse_mixer struct. That is easier to deal with.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions