[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221114152636.2939035-1-yangyingliang@huawei.com>
Date: Mon, 14 Nov 2022 23:26:34 +0800
From: Yang Yingliang <yangyingliang@...wei.com>
To: <linux-kernel@...r.kernel.org>
CC: <mporter@...nel.crashing.org>, <alex.bou9@...il.com>,
<akpm@...ux-foundation.org>
Subject: [PATCH 0/2] rapidio: fix three possible memory leaks
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
Powered by blists - more mailing lists