summaryrefslogtreecommitdiffstats
path: root/RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c
diff options
context:
space:
mode:
Diffstat (limited to 'RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c')
-rw-r--r--RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c b/RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c
index 6870a2cae0..22fdbb74f1 100644
--- a/RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c
+++ b/RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c
@@ -1855,6 +1855,7 @@ BuildupNetworkInterface (
ListCount = (sizeof (mRequiredProtocol) / sizeof (REDFISH_DISCOVER_REQUIRED_PROTOCOL));
NewNetworkInterfaceInstalled = FALSE;
Index = 0;
+ RestExInstance = NULL;
for (Index = 0; Index < ListCount; Index++) {
Status = gBS->OpenProtocol (