From 590c3cb14ad6547528ea13805817676e32c204aa Mon Sep 17 00:00:00 2001 From: jcarsey Date: Mon, 28 Mar 2011 18:42:51 +0000 Subject: [PATCH] cp - fix conditional for memory de-allocaiton. string file - fix copyright date. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11443 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/UefiShellLevel2CommandsLib/Cp.c | 2 +- .../UefiShellLevel3CommandsLib.uni | Bin 42494 -> 42494 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c index 8c0bbce9aa..d71a23cb73 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c @@ -430,7 +430,7 @@ ValidateAndCopyFiles( SHELL_FREE_NON_NULL(DestPath); SHELL_FREE_NON_NULL(HiiOutput); SHELL_FREE_NON_NULL(HiiResultOk); - if (Resp != NULL) { + if (Resp == NULL) { SHELL_FREE_NON_NULL(Response); } diff --git a/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.uni b/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.uni index 723c25faf518dccebc2fa8559305372c32c23cd0..346b464e8235aa2684b8d8c8a5074d873562bc3a 100644 GIT binary patch delta 16 Ycmex&n(5zZrVTs97!5b?6m#td07+yAod5s; delta 16 Ycmex&n(5zZrVTs97!5Y>6m#td07+g4oB#j-