diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-10-28 16:33:47 +0000 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-14 11:18:17 -0500 |
commit | 181d80151f9c6ff3c765c1bd2e4e200ada23c2f3 (patch) | |
tree | f7143a7025ec0a67bb7d5cf856b2e8f39fb93e3a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ea7ef2accdeaf825165cccd60b848765677bf1f2 (diff) |
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