[PATCH 6.3 269/286] test_firmware: fix the memory leak of the allocated firmware buffer