[pulseaudio-discuss] [PATCH 2/2] alsa-mixer: Free the description key in alsa_path_free().
Peter Meerwald
pmeerw at pmeerw.net
Wed Dec 25 01:07:07 PST 2013
description_key is never set as far as I see; probably this attribute
should be dropped alltogether
> ---
> src/modules/alsa/alsa-mixer.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c
> index 2b90a6e..99de0ec 100644
> --- a/src/modules/alsa/alsa-mixer.c
> +++ b/src/modules/alsa/alsa-mixer.c
> @@ -523,6 +523,7 @@ void pa_alsa_path_free(pa_alsa_path *p) {
> pa_proplist_free(p->proplist);
> pa_xfree(p->name);
> pa_xfree(p->description);
> + pa_xfree(p->description_key);
> pa_xfree(p);
> }
>
>
--
Peter Meerwald
+43-664-2444418 (mobile)
More information about the pulseaudio-discuss
mailing list