commit | 0be55579a127916ebe39db2a74d906a2dfceed42 | [log] [tgz] |
---|---|---|
author | Liu, Changcheng <changcheng.liu@intel.com> | Sat Dec 16 23:15:45 2017 +0800 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Dec 18 14:02:16 2017 +0100 |
tree | e918c0303fb9ca986336ba880f8ea20c2208c74f | |
parent | da3588b66e57ffa3e7950f1410c2275fc3c66106 [diff] |
mmc: block: fix logical error to avoid memory leak If the MMC_DRV_OP_GET_EXT_CSD request completes successfully, then ext_csd must be freed, but in one case it was not. Fix that. Signed-off-by: Liu Changcheng <changcheng.liu@intel.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>