net: stmmac: fix leaks in probe
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.18.13 by commit dd91bc60f305610401b2196bedb573693d6c8e46, it was introduced in version v5.14 by commit 2bb4b98b60d7dc89fc0a5bb64534be348ab654df. For more details please see the references link.