diff options
author | Max Kellermann <max@duempel.org> | 2009-03-26 19:50:27 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-26 19:50:27 +0100 |
commit | 239e6da442cd539ffa196edf861891e59fee7f7e (patch) | |
tree | 4ec546c7754044948c84684ff96f72114e9b07e8 /src/volume.h | |
parent | 6c480d7db43c592d2a174de28a00de5f2c7cf2ba (diff) | |
download | mpd-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 'src/volume.h')
0 files changed, 0 insertions, 0 deletions