[PATCH 2/2] alsa-mixer: Free the description key in alsa_path_free().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux