perf/x86/amd/uncore: Fix memory leak for events array
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 v6.0.10 by commit f75be9885d49e3717de962345c4572ddab52b178, it was introduced in version v6.0 by commit 39621c5808f5dda75d03dc4b2d4d2b13a5a1c34b. For more details please see the references link.