Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 803c78e4 authored by Alan Cox's avatar Alan Cox Committed by Russell King
Browse files

[ARM] twl4030 - leak fix



Trivial error path leak fix. Problem found by Daniel Marjamäki using
cppcheck

Signed-off-by: default avatarAlan Cox <alan@lxorguk.ukuu.org.uk>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent b23c7a42
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -397,6 +397,7 @@ void __init twl4030_mmc_init(struct twl4030_hsmmc_info *controllers)
			break;
		default:
			pr_err("MMC%d configuration not supported!\n", c->mmc);
			kfree(mmc);
			continue;
		}
		hsmmc_data[c->mmc - 1] = mmc;