summaryrefslogtreecommitdiffstats
path: root/lib/idr.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 /lib/idr.c
parent4d682420cead1ce06d8cd44ae193414404f0e7f5 (diff)
downloadop-kernel-dev-395b228858778d3c44f7c413693a6acaa8bb62dc.zip
op-kernel-dev-395b228858778d3c44f7c413693a6acaa8bb62dc.tar.gz
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 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud