diff options
| author | Leon Romanovsky <[email protected]> | 2020-07-30 11:27:19 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-07-30 11:03:33 -0300 |
| commit | fb448ce87a4a9482b084e67faf804aec79ed9b43 (patch) | |
| tree | 59d9c6a8888601f619e5812638a0086483ac3f7a /lib/mpi/mpi-pow.c | |
| parent | 5d46b289d04b98eb992b2f8b67745cc0953e16b1 (diff) | |
RDMA/core: Free DIM memory in error unwind
The memory allocated for the DIM wasn't freed in in error unwind path, fix
it by calling to rdma_dim_destroy().
Fixes: da6629793aa6 ("RDMA/core: Provide RDMA DIM support for ULPs")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Reviewed-by: Max Gurtovoy <[email protected] <mailto:[email protected]>>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions