aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-11-15 12:37:19 +0000
committerHerbert Xu <[email protected]>2017-11-29 17:33:27 +1100
commit87aae50af730a28dc1d8846d86dca5e9aa724a9f (patch)
tree105f5ba2a95a9e7c819d3e458ce359e7d74f2358 /tools/perf/scripts/python/export-to-sqlite.py
parentc9683276dd89906ca9b65696d09104d542171421 (diff)
crypto: cavium - fix memory leak on info
The object info is being leaked on an error return path, fix this by setting ret to -ENOMEM and exiting via the request_cleanup path that will free info. Detected by CoverityScan, CID#1408439 ("Resource Leak") Fixes: c694b233295b ("crypto: cavium - Add the Virtual Function driver for CPT") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions