]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Application/Shell/ShellProtocol.c
ShellPkg: Remove memory leak from file list usage
authorJaben Carsey <jaben.carsey@intel.com>
Thu, 9 Jan 2014 17:59:46 +0000 (17:59 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 9 Jan 2014 17:59:46 +0000 (17:59 +0000)
commitc1f9c34621fae9bec20c2b2fce134b9dba2b0ba1
tree785864176a093d99a75c3bc186a1bb947529cd6a
parent705bffb568b36813ff6eccbe5a93cffb0b143044
ShellPkg: Remove memory leak from file list usage

This change removes an un-used parameter that was then causing a leak since the memory was assumed to be used.

This also verifies that the list is freed when no longer needed.

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@15071 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Application/Shell/ShellProtocol.c
ShellPkg/Application/Shell/ShellProtocol.h