aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-03-23 12:32:45 +0000
committerDavid S. Miller <[email protected]>2021-03-24 12:33:06 -0700
commit9e0a537d06fc36861e4f78d0a7df1fe2b3592714 (patch)
treeeab162404d0ce05a873a66bf9dc4b5c8e0ec0069 /tools/perf/scripts/python/export-to-postgresql.py
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 <[email protected]> Acked-by: Sunil Goutham <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions