diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2025-03-18 17:02:25 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2025-03-19 14:37:18 +0300 |
commit | 3834a759afb817e23a7a2f09c2c9911b0ce5c588 (patch) | |
tree | cf69cfa283a7fee4b3950bad8dcd4d964f142f27 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4676741a3464b300b486e70585c3c9b692be1632 (diff) | |
download | linux-3834a759afb817e23a7a2f09c2c9911b0ce5c588.tar.xz |
mmc: omap: Fix memory leak in mmc_omap_new_slot
Add err_free_host label to properly pair mmc_alloc_host() with
mmc_free_host() in GPIO error paths. The allocated host memory was
leaked when GPIO lookups failed.
Fixes: e519f0bb64ef ("ARM/mmc: Convert old mmci-omap to GPIO descriptors")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250318140226.19650-1-linmq006@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions