diff options
-rw-r--r-- | ShellPkg/Application/Shell/ShellProtocol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ShellPkg/Application/Shell/ShellProtocol.c b/ShellPkg/Application/Shell/ShellProtocol.c index b67aefb71c..c619ba15a1 100644 --- a/ShellPkg/Application/Shell/ShellProtocol.c +++ b/ShellPkg/Application/Shell/ShellProtocol.c @@ -1620,6 +1620,7 @@ EfiShellFreeFileList( InternalFreeShellFileInfoNode(ShellFileListItem);
}
InternalFreeShellFileInfoNode(*FileList);
+ *FileList = NULL;
return(EFI_SUCCESS);
}
|