diff options
author | Lijun Ou <[email protected]> | 2019-10-26 14:56:35 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-10-28 15:06:38 -0300 |
commit | b681a0529968d2261aa15d7a1e78801b2c06bb07 (patch) | |
tree | 08d2cc07c46e1d047a8afa6be7e7a85eda00a7ec /tools/perf/util/trace-event-scripting.c | |
parent | d4934f45693651ea15357dd6c7c36be28b6da884 (diff) |
RDMA/hns: Prevent memory leaks of eq->buf_list
eq->buf_list->buf and eq->buf_list should also be freed when eqe_hop_num
is set to 0, or there will be memory leaks.
Fixes: a5073d6054f7 ("RDMA/hns: Add eq support of hip08")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lijun Ou <[email protected]>
Signed-off-by: Weihang Li <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions