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

2021-03-24 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Tue, 23 Mar 2021 12:32:45 + you wrote: > From: Colin Ian King > > 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. > > Addr

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

2021-03-24 Thread Sunil Kovvuri
On Tue, Mar 23, 2021 at 6:07 PM Colin King wrote: > > From: Colin Ian King > > 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 ("octeontx

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

2021-03-23 Thread Colin King
From: Colin Ian King 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