summaryrefslogtreecommitdiffstats
path: root/lib/idr.c
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2010-03-20 16:31:46 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-03-21 09:28:34 +0100
commit395b228858778d3c44f7c413693a6acaa8bb62dc (patch)
tree89abea4e16319b41452217f49a20a810d30b50c5 /lib/idr.c
parentmtd: block2mtd: Use kasprintf (diff)
downloadlinux-395b228858778d3c44f7c413693a6acaa8bb62dc.tar.xz
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 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions