aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-28 16:33:47 +0000
committerDoug Ledford <dledford@redhat.com>2016-12-14 11:18:17 -0500
commit181d80151f9c6ff3c765c1bd2e4e200ada23c2f3 (patch)
treef7143a7025ec0a67bb7d5cf856b2e8f39fb93e3a /tools/perf/scripts/python/export-to-postgresql.py
parentqedr: return -EINVAL if pd is null and avoid null ptr dereference (diff)
downloadwireguard-linux-181d80151f9c6ff3c765c1bd2e4e200ada23c2f3.tar.xz
wireguard-linux-181d80151f9c6ff3c765c1bd2e4e200ada23c2f3.zip
qedr: Fix possible memory leak in qedr_create_qp()
'qp' is malloced in qedr_create_qp() and should be freed before leaving from the error handling cases, otherwise it will cause memory leak. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Ram Amrani <Ram.Amrani@cavium.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions