mbox series

[v2,0/3] mmc: sdio: fixes some leaks

Message ID 20221102012533.1270876-1-yangyingliang@huawei.com (mailing list archive)
Headers show
Series mmc: sdio: fixes some leaks | expand

Message

Yang Yingliang Nov. 2, 2022, 1:25 a.m. UTC
This patch a refcount leak and two memory leaks about
SDIO function.

v1 -> v2:
  Fix compile error in patch #2.

Yang Yingliang (3):
  mmc: sdio: fix of node refcount leak in sdio_add_func()
  mmc: sdio: fix possible memory leak in sdio_init_func()
  mmc: sdio: fix possible memory leak in mmc_attach_sdio()

 drivers/mmc/core/sdio.c     |  7 ++-----
 drivers/mmc/core/sdio_bus.c | 11 ++++++-----
 2 files changed, 8 insertions(+), 10 deletions(-)