x86/MCE/AMD: Fix memory leak when thresholdcreatebank() fails
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.3 by commit 396b8e7ab2a99ddac57d3522b3da5e58cb608d37, it was introduced in version v5.8 by commit 6458de97fc15530b54477c4e2b70af653e8ac3d9. For more details please see the references link.