diff options
author | 2011-07-15 10:50:43 +0800 | |
---|---|---|
committer | 2011-07-22 11:43:59 +0100 | |
commit | 1a6958e79f9e191c89fe0c13f7452b0bd8097050 (patch) | |
tree | b857e86f6ffe1e25a391059b153ac5f910e1ea3f /tools/perf/scripts/python/bin | |
parent | regulator: Make core more chatty about some errors (diff) | |
download | linux-dev-1a6958e79f9e191c89fe0c13f7452b0bd8097050.tar.xz linux-dev-1a6958e79f9e191c89fe0c13f7452b0bd8097050.zip |
regulator: Fix memory leak in set_machine_constraints() error paths
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@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions