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.15.46 by commit cc0dd4456f9573bf8af9b4d8754433918e809e1e, it was introduced in version v5.8 by commit 6458de97fc15530b54477c4e2b70af653e8ac3d9. For more details please see the references link.