summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2023-08-10 22:01:04 +0930
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-26 14:23:36 +0200
commitdfb9676ed25be25ca7cd198d0f0e093b76b7bc7f (patch)
tree9cb784f3692f23357485091e854ac8a35358c9b2 /net/unix/af_unix.c
parentc5ac7522a8db4afd87acaeb6bc2664bfd917161f (diff)
soc: aspeed: socinfo: Add kfree for kstrdup
[ Upstream commit 6e6d847a8ce18ab2fbec4f579f682486a82d2c6b ] Add kfree() in the later error handling in order to avoid memory leak. Fixes: e0218dca5787 ("soc: aspeed: Add soc info driver") Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Link: https://lore.kernel.org/r/20230707021625.7727-1-jiasheng@iscas.ac.cn Signed-off-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20230810123104.231167-1-joel@jms.id.au Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions