diff options
| author | Miaoqian Lin <[email protected]> | 2025-03-18 14:02:25 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2025-03-19 11:37:18 +0000 |
| commit | 3834a759afb817e23a7a2f09c2c9911b0ce5c588 (patch) | |
| tree | cf69cfa283a7fee4b3950bad8dcd4d964f142f27 /net/unix/sysctl_net_unix.c | |
| parent | memstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_remove (diff) | |
| download | kernel-3834a759afb817e23a7a2f09c2c9911b0ce5c588.tar.gz kernel-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 <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
