summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-qcom-ipq806x-sata.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-05-13 20:06:12 +0200
committerJonathan Cameron <jic23@kernel.org>2015-05-17 10:10:14 +0200
commit32ee56e306b09568619466efe109ab9722e89245 (patch)
tree8455041834371cfe4b963e17b3331f078bcbb896 /drivers/phy/phy-qcom-ipq806x-sata.c
parentiio: light: hid-sensor-als.c: Fix memory leak in probe() (diff)
downloadlinux-32ee56e306b09568619466efe109ab9722e89245.tar.xz
linux-32ee56e306b09568619466efe109ab9722e89245.zip
iio: orientation: hid-sensor-incl-3d: Fix memory leak in probe()
'channels' is allocated via kmemdup and it is never freed in the subsequent error paths. Use 'indio_dev->channels' directly instead, so that we avoid such memory leak problem. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/phy/phy-qcom-ipq806x-sata.c')
0 files changed, 0 insertions, 0 deletions