Re: [PATCH v3] regulator: Fix memory leak inset_machine_constraints() error paths
From: Mark Brown
Date: Fri Jul 15 2011 - 00:37:24 EST
On Fri, Jul 15, 2011 at 10:50:43AM +0800, Axel Lin wrote:
> Properly kfree rdev->constraints in all set_machine_constraints() error paths.
> Also properly kfree rdev->constraints in regulator_register() error paths.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/