lkml.org 
[lkml]   [2021]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] octeontx2-af: Fix memory leak of object buf
From
Date
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@canonical.com>
>
> 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@canonical.com>
>
> [...]

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


\
 
 \ /
  Last update: 2021-03-24 20:41    [W:0.050 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site