diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-27 02:07:59 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-27 02:07:59 +0000 |
commit | 352f3572ad387514893527b7f7e3d81089a2897c (patch) | |
tree | 4425c0959f45b82e1c3170a1433706f1138c83bf /MdeModulePkg/Library/GenericBdsLib | |
parent | cec4aed1a931f022bf68dad766f236d9d9b95ee9 (diff) | |
download | edk2-platforms-352f3572ad387514893527b7f7e3d81089a2897c.tar.xz |
Fix ECC issue for GenericBdsLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6744 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/GenericBdsLib')
-rw-r--r-- | MdeModulePkg/Library/GenericBdsLib/BdsConsole.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/GenericBdsLib/BdsConsole.c b/MdeModulePkg/Library/GenericBdsLib/BdsConsole.c index 999de49ba3..af3572ff7d 100644 --- a/MdeModulePkg/Library/GenericBdsLib/BdsConsole.c +++ b/MdeModulePkg/Library/GenericBdsLib/BdsConsole.c @@ -166,7 +166,7 @@ BdsLibUpdateConsoleVariable ( if (VarConsole != NULL) {
FreePool(VarConsole);
}
- if (NewDevicePath) {
+ if (NewDevicePath != NULL) {
FreePool(NewDevicePath);
}
}
|