UINTN Index;\r
EFI_STATUS Status;\r
CHAR8 *Uri;\r
- \r
\r
+ Uri = NULL;\r
+ \r
if (Private == NULL || FilePath == NULL) {\r
return EFI_INVALID_PARAMETER;\r
}\r
//\r
Status = HttpBootStop (Private);\r
if (EFI_ERROR (Status)) {\r
+ if (Uri != NULL) {\r
+ FreePool (Uri);\r
+ }\r
return Status;\r
}\r
} else {\r