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

From: Michael Ellerman
Date: Thu Jun 02 2016 - 07:08:16 EST


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@xxxxxxxxxx>

When was it broken, always?

Cc: stable ?

cheers