diff options
Diffstat (limited to 'RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c')
-rw-r--r-- | RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c b/RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c index 0f1c056175..0a56a68bb1 100644 --- a/RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c +++ b/RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c @@ -961,6 +961,8 @@ AddAndSignalNewRedfishService ( FreePool ((VOID *)DiscoveredList);
return EFI_OUT_OF_RESOURCES;
}
+ } else {
+ FreeInformationData (&DiscoveredInstance->Information);
}
DEBUG ((DEBUG_MANAGEABILITY, "*** Redfish Service Information ***\n"));
|