From c1f9c34621fae9bec20c2b2fce134b9dba2b0ba1 Mon Sep 17 00:00:00 2001 From: Jaben Carsey Date: Thu, 9 Jan 2014 17:59:46 +0000 Subject: 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 Reviewed-by: Ruiyu Ni git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15071 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Application/Shell/ShellProtocol.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ShellPkg/Application/Shell/ShellProtocol.h') diff --git a/ShellPkg/Application/Shell/ShellProtocol.h b/ShellPkg/Application/Shell/ShellProtocol.h index 456aa2aff3..7493c9f49f 100644 --- a/ShellPkg/Application/Shell/ShellProtocol.h +++ b/ShellPkg/Application/Shell/ShellProtocol.h @@ -2,7 +2,7 @@ Member functions of EFI_SHELL_PROTOCOL and functions for creation, manipulation, and initialization of EFI_SHELL_PROTOCOL. - Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -555,7 +555,6 @@ EfiShellRemoveDupInFileList( @param[in] BasePath the Path to prepend onto filename for FullPath @param[in] Status Status member initial value. - @param[in] FullName FullName member initial value. @param[in] FileName FileName member initial value. @param[in] Handle Handle member initial value. @param[in] Info Info struct to copy. @@ -566,7 +565,6 @@ EFIAPI CreateAndPopulateShellFileInfo( IN CONST CHAR16 *BasePath, IN CONST EFI_STATUS Status, - IN CONST CHAR16 *FullName, IN CONST CHAR16 *FileName, IN CONST SHELL_FILE_HANDLE Handle, IN CONST EFI_FILE_INFO *Info -- cgit v1.2.3