• Max Kellermann's avatar
    pulse_mixer: allocate "volume" statically · 239e6da4
    Max Kellermann authored
    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.
    239e6da4
pulse_mixer.c 7.32 KB