Re: [PATCH] octeontx2-af: Fix memory leak of object buf

From: patchwork-bot+netdevbpf
Date: Wed Mar 24 2021 - 15:40:59 EST


Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Tue, 23 Mar 2021 12:32:45 +0000 you wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Currently the error return path when lfs fails to allocate is not free'ing
> the memory allocated to buf. Fix this by adding the missing kfree.
>
> Addresses-Coverity: ("Resource leak")
> Fixes: f7884097141b ("octeontx2-af: Formatting debugfs entry rsrc_alloc.")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- octeontx2-af: Fix memory leak of object buf
https://git.kernel.org/netdev/net/c/9e0a537d06fc

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html