Re-add "mmc: core: Fix possbile memory leak""

This reverts commit 0db922d1608940ca043f46967f8fca3bd2496a92.

Change-Id: I5884b1866803238596cffaf58c7d760995a5e6c1
Merge "Re-add "mmc: core: Fix possbile memory leak""" into jb4.2