summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorshengyong <shengyong1@huawei.com>2015-06-25 05:23:13 +0300
committerBrian Norris <computersforpeace@gmail.com>2015-07-07 01:20:09 +0300
commitec7478fa173f65e5ee5fd2ba42c59ca3e700027b (patch)
tree438bfe81fa168f8fcea231bcf85e48cf03775589 /tools/perf/scripts/python
parent83dcf400be7165af938dbd6b8ce6805c754701db (diff)
downloadlinux-ec7478fa173f65e5ee5fd2ba42c59ca3e700027b.tar.xz
mtd: nandsim: fix free of NULL pointer
If allocating ns->nand_pages_slab fails, do not try to destroy it when cleaning up nandsim resources. Signed-off-by: Sheng Yong <shengyong1@huawei.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions