Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 9c60e889b7bfc67e9298cbc1da4119232a71a03d
      
https://github.com/tianocore/edk2/commit/9c60e889b7bfc67e9298cbc1da4119232a71a03d
  Author: Qihang Gao <[email protected]>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c

  Log Message:
  -----------
  MdeModulePkg: Add missing FreePool to fix memory leak issue

The return value of HiiGetString function should be freed by using
FreePool(). By the way, add a check for NewString before calling
RegisterHotKey().

Signed-off-by: Qihang Gao <[email protected]>


  Commit: cddb4eedca493f7000ad0bf0ef16c2ed6dda2ffa
      
https://github.com/tianocore/edk2/commit/cddb4eedca493f7000ad0bf0ef16c2ed6dda2ffa
  Author: Qihang Gao <[email protected]>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c

  Log Message:
  -----------
  MdeModulePkg: Enhance the handling of registering hot key

It's not a proper approach when dealing the return string of
HiiGetString function with ASSERT on REALEASE or NOOPT mode.
This patch add a check for NewString before calling
RegisterHotKey() for the case.

Signed-off-by: Qihang Gao <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/d271a7de1386...cddb4eedca49

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


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to