summaryrefslogtreecommitdiff
path: root/drivers/spi/dw_spi_pci.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-07-15 06:50:43 +0400
committerLiam Girdwood <lrg@slimlogic.co.uk>2011-07-22 14:43:59 +0400
commit1a6958e79f9e191c89fe0c13f7452b0bd8097050 (patch)
treeb857e86f6ffe1e25a391059b153ac5f910e1ea3f /drivers/spi/dw_spi_pci.c
parent89f425ed5bf3d4fd97e840296dccd75b8e0fe4c9 (diff)
downloadlinux-1a6958e79f9e191c89fe0c13f7452b0bd8097050.tar.xz
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 'drivers/spi/dw_spi_pci.c')
0 files changed, 0 insertions, 0 deletions