diff options
author | Christophe JAILLET <[email protected]> | 2020-04-26 22:23:55 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2020-05-07 15:10:25 +0200 |
commit | 7c277dd2b0ff6a16f1732a66c2c52a29f067163e (patch) | |
tree | 41d2234007a8f7c0c83c06053749449980d1c051 /net/lapb/lapb_subr.c | |
parent | 282ede76e47048eebc8ce5324b412890f0ec0a69 (diff) |
mmc: alcor: Fix a resource leak in the error path for ->probe()
If devm_request_threaded_irq() fails, the allocated struct mmc_host needs
to be freed via calling mmc_free_host(), so let's do that.
Fixes: c5413ad815a6 ("mmc: add new Alcor Micro Cardreader SD/MMC driver")
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions