media: ir_toy: free before error exiting
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.110 by commit 99e3f83539cac6884a4df02cb204a57a184ea12b. For more details please see the references link.