mirror of https://github.com/acidanthera/audk.git
738df706c1
SmmLockBoxSmmLib is linked to SMM modules. If the module entry-point function returns error, the module will be unloaded and the global variables will point to undefined memory. This patch is to add DESTRUCTOR SmmLockBoxSmmDestructor to uninstall SmmLockBoxCommunication configuration table if it has been installed in Constructor. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Laszlo Ersek <lersek@redhat.com> |
||
---|---|---|
.. | ||
SmmLockBoxDxeLib.c | ||
SmmLockBoxDxeLib.inf | ||
SmmLockBoxDxeLib.uni | ||
SmmLockBoxLibPrivate.h | ||
SmmLockBoxPeiLib.c | ||
SmmLockBoxPeiLib.inf | ||
SmmLockBoxPeiLib.uni | ||
SmmLockBoxSmmLib.c | ||
SmmLockBoxSmmLib.inf | ||
SmmLockBoxSmmLib.uni |