Thread (3 messages) flat view 3 messages, 3 authors, 2021-03-24

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-24 19:41:00
Also in: kernel-janitors, lkml

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 <redacted>

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 <redacted>

[...]
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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help