power: supply: z2battery: Fix possible memleak in z2batt_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.15.86 by commit a72fe8eb5555d6e80e252edeb4490f46675a0ea5, it was introduced in version v5.12 by commit a3b4388ea19b055ec482114e227c58d0184edfa5. For more details please see the references link.