diff options
author | 2025-03-18 22:02:25 +0800 | |
---|---|---|
committer | 2025-03-19 12:37:18 +0100 | |
commit | 3834a759afb817e23a7a2f09c2c9911b0ce5c588 (patch) | |
tree | cf69cfa283a7fee4b3950bad8dcd4d964f142f27 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | memstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_remove (diff) | |
download | linux-rng-3834a759afb817e23a7a2f09c2c9911b0ce5c588.tar.xz linux-rng-3834a759afb817e23a7a2f09c2c9911b0ce5c588.zip |
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