mirror of https://github.com/acidanthera/audk.git
ShellPkg: Fix memory leak in function'ShellCommandConsistMappingInitialize'.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yao Jiewen <Jiewen.Yao@intel.com> Reviewed-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19528 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c8cfd83ae8
commit
990046ca42
|
@ -1401,6 +1401,7 @@ ShellCommandConsistMappingInitialize (
|
|||
(VOID **)&SimpleFileSystem
|
||||
);
|
||||
if (EFI_ERROR(Status)) {
|
||||
FreePool (HIDevicePath);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue