Reviewed-by: Nickle Wang <[email protected]>
Regards, Nickle > -----Original Message----- > From: Mike Maslenkin <[email protected]> > Sent: Wednesday, February 21, 2024 8:13 AM > To: [email protected] > Cc: Mike Maslenkin <[email protected]>; Igor Kulchytskyy > <[email protected]>; Nickle Wang <[email protected]>; Abner Chang > <[email protected]> > Subject: [PATCH 1/4] RedfishClientPkg/RedfishFeatureUtilityLib: fix memory > leak > on error path > > External email: Use caution opening links or attachments > > > Cc: Igor Kulchytskyy <[email protected]> > Cc: Nickle Wang <[email protected]> > Signed-off-by: Mike Maslenkin <[email protected]> > Reviewed-by: Abner Chang <[email protected]> > --- > .../Library/RedfishFeatureUtilityLib/RedfishFeatureUtilityLib.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git > a/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtilityLib.c > b/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtilityLib.c > index e1494471038c..21ce8ddad9d5 100644 > --- > a/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtilityLib.c > +++ > b/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtilityLib.c > @@ -4010,6 +4010,7 @@ RedfishRemoveUnchangeableProperties ( > (RedfishCS_uint32)AsciiStrSize (*JsonString) > > ); > > if (Status != RedfishCS_status_success) { > > + FreePool (UpdatedJsonString); > > return EFI_DEVICE_ERROR; > > } > > > > -- > 2.32.0 (Apple Git-132) -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115715): https://edk2.groups.io/g/devel/message/115715 Mute This Topic: https://groups.io/mt/104479571/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
