[RESEND PATCH v5 2/3] test_firmware: fix a memory leak with reqs buffer