Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Yao Jiewen <Jiewen.Yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19525
6f19259b-4bc3-4df7-8a09-
765794883524
SectionLen = StrLen(SectionName);\r
SectionName = StrStr(Sections, SectionName);\r
if (SectionName == NULL) {\r
+ SHELL_FREE_NON_NULL(TempString);\r
continue;\r
}\r
if (*(SectionName + SectionLen) == CHAR_NULL || *(SectionName + SectionLen) == L',') {\r
}\r
SHELL_FREE_NON_NULL(TempString);\r
}\r
+ SHELL_FREE_NON_NULL(TempString);\r
if (!Found && !EFI_ERROR(Status)) {\r
return (EFI_NOT_FOUND);\r
}\r