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 v6.0.6 by commit 02dc0db19d944b4a90941db505ecf1aaec714be4, it was introduced in version v4.4 by commit 6fe6611ff275522a4e4c0359e2f46cdd07780d2f. For more details please see the references link.