aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2013-09-16 20:59:20 -0400
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:06:02 -0400
commit718922f16f7257d56a7361b9eed17c7cbf2d7ce0 (patch)
tree9f92b82e19022dd855bbe394004add26da2d4d2e /net
parent5d80208aaaf46e32c28dcb6e2b33401552fbe4db (diff)
mtd: nand: fix memory leak in ONFI extended parameter page
This fixes a memory leak in the ONFI support code for detecting the required ECC levels from this commit: commit 6dcbe0cdd83fb5f77be4f44c9e06c535281c375a Author: Huang Shijie <b32955@freescale.com> Date: Wed May 22 10:28:27 2013 +0800 mtd: get the ECC info from the Extended Parameter Page In the success case, we never freed the 'ep' buffer. Also, this fixes an oversight in the same commit where we (harmlessly) freed the NULL pointer. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Acked-by: Huang Shijie <b32955@freescale.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions