Changeset 15234 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Dec 10, 2008 8:57:02 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/udp.c
r15231 r15234 371 371 /* Correctly update list if detaching last socket in list. */ 372 372 if (so == udp_last_so) udp_last_so = &udb; 373 #ifndef VBOX_WITH_SLIRP_ICMP 373 374 closesocket(so->s); 374 375 /* if (so->so_m) m_free(so->so_m); done by sofree */ 375 376 376 377 sofree(pData, so); 378 #else /*! VBOX_WITH_SLIRP_ICMP */ 379 if (so != &pData->icmp_socket) { 380 closesocket(so->s); 381 sofree(pData, so); 382 } 383 #endif /* VBOX_WITH_SLIRP_ICMP */ 377 384 } 378 385
Note:
See TracChangeset
for help on using the changeset viewer.