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