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:
Jaben Carsey 2014-01-10 16:41:54 +00:00 committed by jcarsey
parent c357fd6a1f
commit 012305d551
1 changed files with 0 additions and 1 deletions

View File

@ -393,7 +393,6 @@ PrintLsOutput(
FreePool(CorrectedPath); FreePool(CorrectedPath);
ShellCloseFileMetaArg(&ListHead); ShellCloseFileMetaArg(&ListHead);
FreePool(ListHead);
return (ShellStatus); return (ShellStatus);
} }