diff options
author | Michał Mirosław <[email protected]> | 2020-01-02 11:42:16 +0100 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2020-01-16 12:37:39 +0100 |
commit | a04184ce777b46e92c2b3c93c6dcb2754cb005e1 (patch) | |
tree | ab29c5becb345d40aaf4642f03149c3b3e8aa476 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 92f07e5c35b4c041a00480c30f6c361e0986e263 (diff) |
mmc: sdhci-of-at91: fix memleak on clk_get failure
sdhci_alloc_host() does its work not using managed infrastructure, so
needs explicit free on error path. Add it where needed.
Cc: <[email protected]>
Fixes: bb5f8ea4d514 ("mmc: sdhci-of-at91: introduce driver for the Atmel SDMMC")
Signed-off-by: Michał Mirosław <[email protected]>
Acked-by: Ludovic Desroches <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Link: https://lore.kernel.org/r/b2a44d5be2e06ff075f32477e466598bb0f07b36.1577961679.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions