diff --git a/MdeModulePkg/Core/Dxe/Hand/Handle.c b/MdeModulePkg/Core/Dxe/Hand/Handle.c index b5ff3fdcd1..93e69eea73 100644 --- a/MdeModulePkg/Core/Dxe/Hand/Handle.c +++ b/MdeModulePkg/Core/Dxe/Hand/Handle.c @@ -1107,6 +1107,8 @@ CoreOpenProtocol ( return EFI_INVALID_PARAMETER; } + Prot = NULL; + // // Lock the protocol database //