]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg: Enhance the code in DNS driver.
authorZhang Lubo <lubo.zhang@intel.com>
Fri, 14 Oct 2016 06:51:24 +0000 (14:51 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Wed, 26 Oct 2016 08:43:00 +0000 (16:43 +0800)
commit8aa2cdd79f9c75429ae1c23ac0f379d901a251d6
tree92c925866ec8b03349292d7c16f91aee28541ab2
parent6692d5195477e2fb2f99159745e7a14814e56c3e
NetworkPkg: Enhance the code in DNS driver.

There may be an error happens when we use the
configure function to set or change the configuration
data for the DNS6 instance, So we will free the
DnsServerList without configured to NULL. If we reset
the instance with the parameter DnsConfigData to NULL, the
DnsServerList will be freed twice.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
NetworkPkg/DnsDxe/DnsProtocol.c