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.15.77 by commit e6765fe8de372a84f8dbe9e03ec13c7c70f946b8, it was introduced in version v5.10 by commit 5215e16244ee5889cc6135381acdbf4cbcb7905a. For more details please see the references link.