summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h
diff options
context:
space:
mode:
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2010-10-04 16:26:29 +0000
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2010-10-04 16:26:29 +0000
commit0ab85bef03a4265f928ea5c9dbfa2328658738ac (patch)
tree924fee2520d68741cd4d455fe05bbb2665ba5d7a /ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h
parent40d7a9cfaa529a8ed50a039719c09c42e05c496f (diff)
downloadedk2-platforms-0ab85bef03a4265f928ea5c9dbfa2328658738ac.tar.xz
move DeleteScriptFileStruct from a private to a public function. This allows for better memory cleanup when errors occur.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10906 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h')
-rw-r--r--ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h b/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h
index 6327ae54c5..ef81dd3f89 100644
--- a/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h
+++ b/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h
@@ -58,17 +58,6 @@ typedef struct {
SCRIPT_FILE *Data;
} SCRIPT_FILE_LIST;
-/**
- Function to cleanup all memory from a SCRIPT_FILE structure.
-
- @param[in] Script The pointer to the structure to cleanup.
-**/
-VOID
-EFIAPI
-DeleteScriptFileStruct (
- IN SCRIPT_FILE *Script
- );
-
typedef struct {
EFI_FILE_PROTOCOL *FileHandle;
CHAR16 *Path;