[PATCH v2] bootstd: Fix a memory leak in the efi manager bootflow