[PATCH] cpu-arm: Fix memory leak in pa_cpu_get_arm_flags()

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

 



> 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)


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

  Powered by Linux