summaryrefslogtreecommitdiff
path: root/tools/virtio/uapi
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2013-09-16 17:59:20 -0700
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-09-27 05:48:02 -0500
commit5cb1327172281cadb7ee8c5fa294d7ac8e09b8db (patch)
tree917490c0d13717b7fa37e9791ab3ed39165d1521 /tools/virtio/uapi
parent7b9e3a6ac00be4f3d654a711573b1794b046c22f (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>
Diffstat (limited to 'tools/virtio/uapi')
0 files changed, 0 insertions, 0 deletions