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