firmware_loader: Fix memory leak in firmware upload
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.19.8 by commit baf92485d111be828e1ab84a995515b604b938e5, it was introduced in version v5.19 by commit 97730bbb242cde22b7140acd202ffd88823886c9. For more details please see the references link.