Fix ECC issue for GenericBdsLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6744 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2008-11-27 02:07:59 +00:00
parent cec4aed1a9
commit 352f3572ad
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ BdsLibUpdateConsoleVariable (
if (VarConsole != NULL) {
FreePool(VarConsole);
}
if (NewDevicePath) {
if (NewDevicePath != NULL) {
FreePool(NewDevicePath);
}
}