diff options
author | Jiaxin Wu <jiaxin.wu@intel.com> | 2017-01-23 10:18:30 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2017-08-14 13:18:57 +0800 |
commit | 7b1dbd15ea00d09f5e8b1fe0f6c97f1eba0f7efe (patch) | |
tree | 77d69c8f1491afe1c7489389a65d8dc1f1e9a4db /NetworkPkg/HttpBootDxe/HttpBootImpl.c | |
parent | 67e0bbd6c34942a238c8381d14aa984b30f27f0c (diff) | |
download | edk2-7b1dbd15ea00d09f5e8b1fe0f6c97f1eba0f7efe.tar.gz edk2-7b1dbd15ea00d09f5e8b1fe0f6c97f1eba0f7efe.tar.bz2 edk2-7b1dbd15ea00d09f5e8b1fe0f6c97f1eba0f7efe.zip |
NetworkPkg/HttpBootDxe: Update device path node to include DNS information
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Diffstat (limited to 'NetworkPkg/HttpBootDxe/HttpBootImpl.c')
-rw-r--r-- | NetworkPkg/HttpBootDxe/HttpBootImpl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/NetworkPkg/HttpBootDxe/HttpBootImpl.c b/NetworkPkg/HttpBootDxe/HttpBootImpl.c index dfd0e23db0..06a8a6a386 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootImpl.c +++ b/NetworkPkg/HttpBootDxe/HttpBootImpl.c @@ -465,6 +465,11 @@ HttpBootStop ( }
}
+ if (Private->DnsServerIp != NULL) {
+ FreePool (Private->DnsServerIp);
+ Private->DnsServerIp = NULL;
+ }
+
if (Private->FilePathUri!= NULL) {
FreePool (Private->FilePathUri);
HttpUrlFreeParser (Private->FilePathUriParser);
|