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:
parent
cec4aed1a9
commit
352f3572ad
@ -166,7 +166,7 @@ BdsLibUpdateConsoleVariable (
|
|||||||
if (VarConsole != NULL) {
|
if (VarConsole != NULL) {
|
||||||
FreePool(VarConsole);
|
FreePool(VarConsole);
|
||||||
}
|
}
|
||||||
if (NewDevicePath) {
|
if (NewDevicePath != NULL) {
|
||||||
FreePool(NewDevicePath);
|
FreePool(NewDevicePath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user