commit | ec7478fa173f65e5ee5fd2ba42c59ca3e700027b | [log] [tgz] |
---|---|---|
author | shengyong <shengyong1@huawei.com> | Thu Jun 25 02:23:13 2015 +0000 |
committer | Brian Norris <computersforpeace@gmail.com> | Mon Jul 06 15:20:09 2015 -0700 |
tree | 438bfe81fa168f8fcea231bcf85e48cf03775589 | |
parent | 83dcf400be7165af938dbd6b8ce6805c754701db [diff] |
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>