Hello, This patch fixes a potential memleak on error path in dm-crypt code.
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/md/dm-crypt.c | 26204 -> 26219 (+15 bytes) drivers/md/dm-crypt.o | 142872 -> 142872 (0 bytes) drivers/md/dm-crypt.c | 1 + 1 file changed, 1 insertion(+) --- linux-2.6.23-rc2-mm2-a/drivers/md/dm-crypt.c 2007-08-10 12:46:08.000000000 +0200 +++ linux-2.6.23-rc2-mm2-b/drivers/md/dm-crypt.c 2007-08-12 09:10:22.000000000 +0200 @@ -175,6 +175,7 @@ static int crypt_iv_essiv_ctr(struct cry if (err) { ti->error = "Error calculating hash in ESSIV"; + kfree(salt); return err; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/