mirror of https://github.com/acidanthera/audk.git
ShellPkg: remove double free operation
This pointer gets free twice and this does not work. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15094 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c357fd6a1f
commit
012305d551
|
@ -393,7 +393,6 @@ PrintLsOutput(
|
||||||
|
|
||||||
FreePool(CorrectedPath);
|
FreePool(CorrectedPath);
|
||||||
ShellCloseFileMetaArg(&ListHead);
|
ShellCloseFileMetaArg(&ListHead);
|
||||||
FreePool(ListHead);
|
|
||||||
return (ShellStatus);
|
return (ShellStatus);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue