[PATCH 0/2] rapidio: fix three possible memory leaks

From: Yang Yingliang
Date: Mon Nov 14 2022 - 10:28:24 EST


This patchset fixes three name leaks in error handling.
- patch #1 fixes two name leaks while rio_add_device() fails.
- patch #2 fixes a name leak while rio_register_mport() fails.

Yang Yingliang (2):
rapidio: fix possible name leaks when rio_add_device() fails
rapidio: rio: fix possible name leak in rio_register_mport()

drivers/rapidio/devices/rio_mport_cdev.c | 7 +++++--
drivers/rapidio/rio-scan.c | 8 ++++++--
drivers/rapidio/rio.c | 9 +++++++--
3 files changed, 18 insertions(+), 6 deletions(-)

--
2.25.1