summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips/jedec_probe.c
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2010-03-20 15:31:46 +0000
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-03-21 08:28:34 +0000
commit395b228858778d3c44f7c413693a6acaa8bb62dc (patch)
tree89abea4e16319b41452217f49a20a810d30b50c5 /drivers/mtd/chips/jedec_probe.c
parent4d682420cead1ce06d8cd44ae193414404f0e7f5 (diff)
downloadblackbird-op-linux-395b228858778d3c44f7c413693a6acaa8bb62dc.tar.gz
blackbird-op-linux-395b228858778d3c44f7c413693a6acaa8bb62dc.zip
mtd/maps/pismo: remove dangling pointer and a leak
While looking for drivers which forgot to clear i2c_clientdata before freeing the data structure it points to, I found that the pismo driver even has a leak on the probe error path. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/chips/jedec_probe.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud