mirror of https://github.com/acidanthera/audk.git
Remove a unncessary check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6352 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
63766b6de4
commit
383ad6791f
|
@ -305,9 +305,7 @@ BdsLibRegisterNewOption (
|
|||
// Got the option, so just return
|
||||
//
|
||||
FreePool (OptionPtr);
|
||||
if (TempOptionPtr != NULL) {
|
||||
FreePool (TempOptionPtr);
|
||||
}
|
||||
FreePool (TempOptionPtr);
|
||||
return EFI_SUCCESS;
|
||||
} else {
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue