diff options
author | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-28 18:42:51 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-28 18:42:51 +0000 |
commit | 590c3cb14ad6547528ea13805817676e32c204aa (patch) | |
tree | dbc1608adcf72c3313b3ad3a5a5f09ac56068645 /ShellPkg/Library/UefiShellLevel2CommandsLib | |
parent | 0929b78a3908f01504162015b4a709c3d063f55e (diff) | |
download | edk2-590c3cb14ad6547528ea13805817676e32c204aa.zip edk2-590c3cb14ad6547528ea13805817676e32c204aa.tar.gz edk2-590c3cb14ad6547528ea13805817676e32c204aa.tar.bz2 |
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
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel2CommandsLib')
-rw-r--r-- | ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c index 8c0bbce..d71a23c 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);
}
|