From: Florin Malita Date: Mon, 15 May 2006 22:42:31 +0000 (+0100) Subject: [PATCH] jffs2: memory leak in jffs2_scan_medium() X-Git-Tag: v2.6.18-rc1~1105^2~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b5ffbc1e6d62d89747f3f59c09b2e488a7d7fce;p=pandora-kernel.git [PATCH] jffs2: memory leak in jffs2_scan_medium() If jffs2_scan_eraseblock() fails and the exit path is taken, 's' is not being deallocated. Reported by Coverity, CID: 1258. Signed-off-by: Florin Malita Signed-off-by: David Woodhouse --- Reading git-diff-tree failed