mirror of https://github.com/acidanthera/audk.git
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) {
|
||||
FreePool(VarConsole);
|
||||
}
|
||||
if (NewDevicePath) {
|
||||
if (NewDevicePath != NULL) {
|
||||
FreePool(NewDevicePath);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue