diff options
author | 2015-05-29 23:10:31 -0700 | |
---|---|---|
committer | 2015-06-02 09:22:31 -0400 | |
commit | 18eaf1f1959add9bbbfa5442fc5d9b59f7d4e1bd (patch) | |
tree | 59f5181b652e0425526622f81d820112ce22fe14 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rds: re-entry of rds_ib_xmit/rds_iw_xmit (diff) | |
download | wireguard-linux-18eaf1f1959add9bbbfa5442fc5d9b59f7d4e1bd.tar.xz wireguard-linux-18eaf1f1959add9bbbfa5442fc5d9b59f7d4e1bd.zip |
RDMA/ocrdma: Fix memory leak in _ocrdma_alloc_pd()
If ocrdma_get_pd_num() fails, then we need to free the pd struct we allocated.
This was detected by Coverity (CID 1271245).
Signed-off-by: Roland Dreier <roland@purestorage.com>
Acked-By: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions