JFFS2: Fix memory leak if jffs2_scan_medium() fails.
We weren't releasing all the temporary dirent structures we may have built up during the first part of the scan. Signed-off-by: Artem Bityuckiy <dedekind@infradead.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Showing
Please register or sign in to comment