[PATCH 3/8] cpufreq: powerenv: Fix memory leak

Michael Ellerman mpe at ellerman.id.au
Thu Jun 2 21:08:08 AEST 2016


On Wed, 2016-06-01 at 16:04 +0530, Viresh Kumar wrote:

> The policy is copied (unnecessarily) and is never freed. Fix it by just
> getting a reference to the existing policy structure and putting it
> back.
> 
> Signed-off-by: Viresh Kumar <viresh.kumar at linaro.org>

When was it broken, always?

Cc: stable ?

cheers



More information about the Linuxppc-dev mailing list