perf: Fix possible memleak in pmu_dev_alloc()
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.10.163 by commit 60a7a0aa9dd81e3374fbdbb5a75ca456d12fb46b, it was introduced in version v2.6.38 by commit abe43400579d5de0078c2d3a760e6598e183f871. For more details please see the references link.