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 v6.0.16 by commit 72343adbd1ac6f7a00fe285d5080a0d48c496f27, it was introduced in version v5.12 by commit a3b4388ea19b055ec482114e227c58d0184edfa5. For more details please see the references link.