[pulseaudio-discuss] [PATCH] cpu-arm: Fix memory leak in pa_cpu_get_arm_flags()
Peter Meerwald
pmeerw at pmeerw.net
Thu Mar 19 07:54:54 PDT 2015
> From: Sukesh Adiga <sukesh.adiga at gmail.com>
applied, thanks!
> ---
> src/pulsecore/cpu-arm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/pulsecore/cpu-arm.c b/src/pulsecore/cpu-arm.c
> index 4c447b8..122a72b 100644
> --- a/src/pulsecore/cpu-arm.c
> +++ b/src/pulsecore/cpu-arm.c
> @@ -119,6 +119,7 @@ void pa_cpu_get_arm_flags(pa_cpu_arm_flag_t *flags) {
>
> pa_xfree(current);
> }
> + pa_xfree(line);
> }
>
> /* get the CPU part number */
> --
> 1.8.3.2
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
--
Peter Meerwald
+43-664-2444418 (mobile)
More information about the pulseaudio-discuss
mailing list