Fix memory leak issues.
Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Li Elvin <elvin.li@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13288 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -2028,6 +2028,8 @@ HiiCompareLanguage (
|
||||
//
|
||||
// Return FALSE if any characters are different.
|
||||
//
|
||||
FreePool (Lan1);
|
||||
FreePool (Lan2);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user