Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 58d3345d8c71ce4ab1c3dbf57a08408f61c1c295
      
https://github.com/tianocore/edk2/commit/58d3345d8c71ce4ab1c3dbf57a08408f61c1c295
  Author: Dongyan Qian <qiandong...@loongson.cn>
  Date:   2025-06-12 (Thu, 12 Jun 2025)

  Changed paths:
    M MdeModulePkg/Bus/Spi/SpiBus/SpiBusDxe.c

  Log Message:
  -----------
  MdeModulePkg/SpiBus: Free handle buffers after LocateHandleBuffer

Fix memory leaks by adding missing FreePool calls:
release SpiHcHandles in SpiBusEntry exit path.

REF: https://uefi.org/sites/default/files/resources/UEFI_Spec_Final_2.11.pdf
Chapter 7.3.15: "Services - Boot Services.LocateHandleBuffer":
It is the caller's responsibility to call the Boot Service.FreePool when
the caller no longer requires the contents of Buffer.

Signed-off-by: Dongyan Qian <qiandong...@loongson.cn>


  Commit: ef516ea82d42c2ca37d1954262383787b80e1ba7
      
https://github.com/tianocore/edk2/commit/ef516ea82d42c2ca37d1954262383787b80e1ba7
  Author: Dongyan Qian <qiandong...@loongson.cn>
  Date:   2025-06-12 (Thu, 12 Jun 2025)

  Changed paths:
    M NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.c

  Log Message:
  -----------
  NetworkPkg/HttpUtilitiesDxe: Free handle buffers after LocateHandleBuffer

Fix memory leaks by adding missing FreePool calls:
free HandleBuffer in HttpUtilitiesDxeUnload.

REF: https://uefi.org/sites/default/files/resources/UEFI_Spec_Final_2.11.pdf
Chapter 7.3.15: "Services - Boot Services.LocateHandleBuffer":
It is the caller's responsibility to call the Boot Service.FreePool when
the caller no longer requires the contents of Buffer.

Signed-off-by: Dongyan Qian <qiandong...@loongson.cn>


  Commit: ddacfa238aa99399256897df2e193a5a730dee29
      
https://github.com/tianocore/edk2/commit/ddacfa238aa99399256897df2e193a5a730dee29
  Author: Dongyan Qian <qiandong...@loongson.cn>
  Date:   2025-06-12 (Thu, 12 Jun 2025)

  Changed paths:
    M PrmPkg/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.c

  Log Message:
  -----------
  PrmPkg/DxePrmContextBufferLib: Free handle buffers after LocateHandleBuffer

Fix memory leaks by adding missing FreePool calls:
cleanup HandleBuffer in GetModuleContextBuffers.

REF: https://uefi.org/sites/default/files/resources/UEFI_Spec_Final_2.11.pdf
Chapter 7.3.15: "Services - Boot Services.LocateHandleBuffer":
It is the caller's responsibility to call the Boot Service.FreePool when
the caller no longer requires the contents of Buffer.

Signed-off-by: Dongyan Qian <qiandong...@loongson.cn>


  Commit: 108757b613620e8406f32e5aa2e52df8d115d61f
      
https://github.com/tianocore/edk2/commit/108757b613620e8406f32e5aa2e52df8d115d61f
  Author: Dongyan Qian <qiandong...@loongson.cn>
  Date:   2025-06-12 (Thu, 12 Jun 2025)

  Changed paths:
    M RedfishPkg/RedfishConfigHandler/RedfishConfigHandlerCommon.c

  Log Message:
  -----------
  RedfishPkg/RedfishConfigHandler: Free handle buffers

Fix memory leaks by adding missing FreePool calls:
free handle buffers in Stop and initialization routines.

REF:https://uefi.org/sites/default/files/resources/UEFI_Spec_Final_2.11.pdf
Chapter 7.3.15: "Services - Boot Services.LocateHandleBuffer":
It is the caller's responsibility to call the Boot Service.FreePool when
the caller no longer requires the contents of Buffer.

Signed-off-by: Dongyan Qian <qiandong...@loongson.cn>


Compare: https://github.com/tianocore/edk2/compare/f9408b7cc160...108757b61362

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to