Changeset 16303 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Jan 28, 2009 12:39:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r16296 r16303 433 433 if (get_dns_addr_domain(pData, true, &dns_addr, &pData->pszDomain) < 0) 434 434 #else 435 LIST_INIT(&pData->dns_list_head); 435 436 if (get_dns_addr_domain(pData, true, NULL, &pData->pszDomain) < 0) 436 437 #endif … … 500 501 void slirp_term(PNATState pData) 501 502 { 503 #ifdef VBOX_WITH_MULTI_DNS 504 struct dns_entry *de = NULL; 505 #endif 502 506 if (pData->pszDomain) 503 507 RTStrFree((char *)(void *)pData->pszDomain); … … 512 516 513 517 slirp_link_down(pData); 518 #ifdef VBOX_WITH_MULTI_DNS 519 while(!LIST_EMPTY(&pData->dns_list_head)) { 520 de = LIST_FIRST(&pData->dns_list_head); 521 LIST_REMOVE(de, de_list); 522 RTMemFree(de); 523 } 524 #endif 514 525 #ifdef RT_OS_WINDOWS 515 526 WSACleanup();
Note:
See TracChangeset
for help on using the changeset viewer.