aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-08-31 17:30:53 +0100
committerDavid S. Miller <[email protected]>2017-09-03 10:57:10 -0700
commit542deb88b0e3696ec9986e804628158169200776 (patch)
treef6b470e7e89468cb70fbdf0345e1d76d05700863 /tools/perf/scripts/python/export-to-postgresql.py
parent32d9b70a053a835b4dfb33158fc03795ea103e44 (diff)
net/mlx4_core: fix memory leaks on error exit path
The structures hca_param and func_cap are not being kfree'd on an error exit path causing two memory leaks. Fix this by jumping to the existing free memory error exit path. Detected by CoverityScan, CID#1455219, CID#1455224 ("Resource Leak") Fixes: c73c8b1e47ca ("net/mlx4_core: Dynamically allocate structs at mlx4_slave_cap") Signed-off-by: Colin Ian King <[email protected]> Acked-by: Tariq Toukan <[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