net: hinic: fix memory leak when reading function table
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.10.153 by commit bb01910763f935b16538084b4269696e0de17f79, it was introduced in version v5.10 by commit 5215e16244ee5889cc6135381acdbf4cbcb7905a. For more details please see the references link.