summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-03-23 12:32:45 +0000
committerDavid S. Miller <davem@davemloft.net>2021-03-24 12:33:06 -0700
commit9e0a537d06fc36861e4f78d0a7df1fe2b3592714 (patch)
treeeab162404d0ce05a873a66bf9dc4b5c8e0ec0069 /Kbuild
parentf51d7bf1dbe5522c51c93fe8faa5f4abbdf339cd (diff)
octeontx2-af: Fix memory leak of object buf
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> Acked-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions