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