diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-04-26 22:23:55 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-05-07 15:10:25 +0200 |
commit | 7c277dd2b0ff6a16f1732a66c2c52a29f067163e (patch) | |
tree | 41d2234007a8f7c0c83c06053749449980d1c051 /net/rxrpc/local_object.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 <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20200426202355.43055-1-christophe.jaillet@wanadoo.fr
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'net/rxrpc/local_object.c')
0 files changed, 0 insertions, 0 deletions