Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bedcc45c authored by Magnus Damm's avatar Magnus Damm Committed by Pierre Ossman
Browse files

tmio_mmc: Fix use after free in remove()



Update the tmio_mmc code to call mmc_free_host() when
done using the private data. Without this fix the driver
frees memory and then keeps on using it as private data.

Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
Acked-by: default avatarIan Molton <ian@mnementh.co.uk>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent bc6772a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment