The patch titled
MTD: potential leak in rfd_ftl_add_mtd
has been removed from the -mm tree. Its filename was
mtd-potential-leak-in-rfd_ftl_add_mtd.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
Subject: MTD: potential leak in rfd_ftl_add_mtd
From: Florin Malita <[EMAIL PROTECTED]>
This fixes a leak in the !mtd->erasesize error path (Coverity 1765).
Signed-off-by: Florin Malita <[EMAIL PROTECTED]>
Cc: David Woodhouse <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/mtd/rfd_ftl.c | 1 +
1 files changed, 1 insertion(+)
diff -puN drivers/mtd/rfd_ftl.c~mtd-potential-leak-in-rfd_ftl_add_mtd
drivers/mtd/rfd_ftl.c
--- a/drivers/mtd/rfd_ftl.c~mtd-potential-leak-in-rfd_ftl_add_mtd
+++ a/drivers/mtd/rfd_ftl.c
@@ -779,6 +779,7 @@ static void rfd_ftl_add_mtd(struct mtd_b
else {
if (!mtd->erasesize) {
printk(KERN_WARNING PREFIX "please provide block_size");
+ kfree(part);
return;
}
else
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
git-mtd.patch
git-ubi.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html