alsa-plugins: fix minor memory leak
PATCH 1/1 alsa-plugins: fix minor memory leak
Heya!
If we fail, we need to free the device string
--- pulse/pcm_pulse.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
pulse/pcm_pulse.c +1 -0
@@ -917,6 +917,7 @@ error:if (pcm->p)pulse_free (pcm->p); +free (pcm->device);free (pcm);return err;
Signature · 10 lines
1.6.0.1 Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net ICQ# 11060553 http://0pointer.net/lennart/ GnuPG 0x1A015CC4