]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c
MdeModulePkg: Fixed incorrect return value of MatchString
authorCecil Sheng <cecil.sheng@hpe.com>
Thu, 17 Mar 2016 02:23:47 +0000 (10:23 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 17 Mar 2016 02:53:48 +0000 (10:53 +0800)
commit04c30dd5718d5f927b2ec31010032b2b5a714a2c
treeaab24f9aa8f629899d007912e60e5d42f3d7bcf1
parent25896aa391d04efecbee65bdf41a2de3660da440
MdeModulePkg: Fixed incorrect return value of MatchString

In UEFI2.6, CapturePtr's in the Captures array returned by MatchString
are to be separatedly allocated so that they can be freed by the
caller.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cecil Sheng <cecil.sheng@hpe.com>
Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c