From: shengyong Date: Thu, 25 Jun 2015 02:23:13 +0000 (+0000) Subject: mtd: nandsim: fix free of NULL pointer X-Git-Tag: omap-for-v4.3/fixes-rc1~116^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec7478fa173f65e5ee5fd2ba42c59ca3e700027b;p=pandora-kernel.git 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 Signed-off-by: Brian Norris --- Reading git-diff-tree failed