diff options
author | Yongzhi Liu <[email protected]> | 2022-03-11 09:06:01 -0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2022-03-14 20:41:10 -0300 |
commit | 087f9c3f2309ed183f7e4b85ae57121d8663224d (patch) | |
tree | 9d3158c194380eb3f01cb28b81670bf6c7bcf01b /scripts/gdb/linux/tasks.py | |
parent | 7922d3de4d270a9aedb71212fc0d5ae697ced516 (diff) |
RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
In case the second xa_insert() fails, the obj_event is not released. Fix
the error unwind flow to free that memory to avoid a memory leak.
Fixes: 759738537142 ("IB/mlx5: Enable subscription for device events over DEVX")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Yongzhi Liu <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions