net: hns: fix possible memory leak in hnaeaeregister()
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 v5.4.221 by commit dfc0337c6dceb6449403b33ecb141f4a1458a1e9, it was introduced in version v4.4 by commit 6fe6611ff275522a4e4c0359e2f46cdd07780d2f. For more details please see the references link.