diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2010-03-20 15:31:46 +0000 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-03-21 08:28:34 +0000 |
commit | 395b228858778d3c44f7c413693a6acaa8bb62dc (patch) | |
tree | 89abea4e16319b41452217f49a20a810d30b50c5 /lib/idr.c | |
parent | 4d682420cead1ce06d8cd44ae193414404f0e7f5 (diff) | |
download | linux-stable-395b228858778d3c44f7c413693a6acaa8bb62dc.tar.gz linux-stable-395b228858778d3c44f7c413693a6acaa8bb62dc.tar.bz2 linux-stable-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