RDMA/hns: Fix NULL pointer problem in freemrinit()
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v6.0.8 by commit 0e23e85d86b78e734dd6654f1b69fbaeb5534c81, it was introduced in version v5.18 by commit 70f92521584f1d1e8268311ee84413307b0fdea8. For more details please see the references link.