summaryrefslogtreecommitdiff
path: root/drivers/of/of_mdio.c
diff options
context:
space:
mode:
authorChristian Engelmayer <cengelma@gmx.at>2014-01-23 21:32:20 (GMT)
committerThierry Reding <thierry.reding@gmail.com>2014-02-26 14:45:12 (GMT)
commit0b7d25c347900e2550398e29e25caf0fefe3cab2 (patch)
treecb9472bc2278139cfb7a01132810abd8ad5bc8c6 /drivers/of/of_mdio.c
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
downloadlinux-0b7d25c347900e2550398e29e25caf0fefe3cab2.tar.xz
pwm: lp3943: Fix potential memory leak during request
Fix a memory leak in the lp3943_pwm_request_map() error handling path. Make sure already allocated pwm map memory is freed correctly. Detected by Coverity: CID 1162829. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Acked-by: Milo Kim <milo.kim@ti.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/of/of_mdio.c')
0 files changed, 0 insertions, 0 deletions