[PATCH 6.1 205/225] test_firmware: fix the memory leak of the allocated firmware buffer