]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: mmc: iproc_sdhci: fix possible memory leak
authorBharat Kumar Reddy Gooty <bharat.gooty@broadcom.com>
Tue, 31 Mar 2020 05:34:03 +0000 (11:04 +0530)
committerPeng Fan <peng.fan@nxp.com>
Wed, 22 Apr 2020 12:41:55 +0000 (20:41 +0800)
commitd5b8500f033fd14c3ab6e66417ce8c819f7889db
tree63d0b296d07c3ea47645a471a362cb744ef407b5
parent0469d846364ae54fc380a813cc4c3e9e19bdc99a
drivers: mmc: iproc_sdhci: fix possible memory leak

Free the pointer variable 'iproc_sdhci' upon failure to fix
possible memory leak.

Signed-off-by: Bharat Kumar Reddy Gooty <bharat.gooty@broadcom.com>
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
drivers/mmc/iproc_sdhci.c