Files
linux/drivers
Wang Hai 9be4ac2d80 cosa: Add missing kfree in error path of cosa_write
[ Upstream commit 52755b66dd ]

If memory allocation for 'kbuf' succeed, cosa_write() doesn't have a
corresponding kfree() in exception handling. Thus add kfree() for this
function implementation.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Acked-by: Jan "Yenya" Kasprzak <kas@fi.muni.cz>
Link: https://lore.kernel.org/r/20201110144614.43194-1-wanghai38@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 09:47:31 +09:00
..
2023-05-12 16:27:16 +09:00
2023-05-16 09:44:24 +09:00
2023-05-16 09:39:22 +09:00
2023-05-16 09:23:45 +09:00
2023-05-15 12:46:28 +09:00
2023-05-16 09:38:55 +09:00
2023-05-16 09:44:41 +09:00
2023-05-15 10:37:00 +09:00
2023-05-15 09:23:01 +09:00
2023-05-15 08:28:33 +09:00
2023-05-15 16:59:11 +09:00