audk/ShellPkg/Library/UefiShellCommandLib
Jaben Carsey 4f67c7ffa1 ShellPkg: remove memory leak in file handle list
The shell was not freeing sufficient memory when freeing a list of files.  The structure contained a pointer which was being left behind.  I made a new function to replace the shared freeing function which frees the “Path” member of the SHELL_COMMAND_FILE_HANDLE structure.

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@15073 6f19259b-4bc3-4df7-8a09-765794883524
2014-01-09 18:05:24 +00:00
..
ConsistMapping.c Add missing braces around initializer. 2012-10-11 02:15:23 +00:00
UefiShellCommandLib.c ShellPkg: remove memory leak in file handle list 2014-01-09 18:05:24 +00:00
UefiShellCommandLib.h move DeleteScriptFileStruct from a private to a public function. This allows for better memory cleanup when errors occur. 2010-10-04 16:26:29 +00:00
UefiShellCommandLib.inf Update all the code to consume the ConvertDevicePathToText, ConvertDevicePathNodeToText, ConvertTextToDevicePath and ConvertTextToDeviceNode APIs in DevicePathLib. 2013-07-26 03:14:08 +00:00