]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg SmiHandlerProfile: Fix memory leak in DumpSmiChildContext
authorStar Zeng <star.zeng@intel.com>
Thu, 11 May 2017 09:34:34 +0000 (17:34 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 12 May 2017 05:07:11 +0000 (13:07 +0800)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=530

In DumpSmiChildContext() of SmiHandlerProfile.c and
SmiHandlerProfileInfo.c, the return buffer from
ConvertDevicePathToText() should be freed after used.

Cc: Jiewen Yao <jiewen.yao@intel.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>

No differences found