]> git.sur5r.net Git - u-boot/commit
drivers: mmc: Avoid memory leak in case of failure
authorSuniel Mahesh <sunil.m@techveda.org>
Thu, 5 Oct 2017 06:18:56 +0000 (11:48 +0530)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 12 Jan 2018 09:11:03 +0000 (18:11 +0900)
commit0e1746acacbb6dcaa0e9205f2712faf9d1e321a0
tree125ee8c119a06ef630d385571abe623990031948
parent18e7c8f6aa5fe3893b85830abf2458559087b42e
drivers: mmc: Avoid memory leak in case of failure

priv pointer should be freed before returning with an error value
from exynos_dwmci_get_config().

Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>
Signed-off-by: Raghu Bharadwaj <raghu@techveda.org>
drivers/mmc/exynos_dw_mmc.c