Changeset 43233 in vbox
- Timestamp:
- Sep 6, 2012 8:21:37 PM (12 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/misc.c
r41807 r43233 538 538 LogFlowFunc(("ENTER: zone:%R[mzone]\n", zone)); 539 539 LogRel(("NAT: zone(nm:%s, used:%d)\n", zone->name, zone->cur_items)); 540 if (zone->master_zone) 541 RTMemFree(zone->area); 540 RTMemFree(zone->area); 542 541 RTCritSectLeave(&zone->csZone); 543 542 RTCritSectDelete(&zone->csZone); … … 556 555 ZONE_DESTROY(pData->zone_jumbo9); 557 556 ZONE_DESTROY(pData->zone_jumbo16); 557 ZONE_DESTROY(pData->zone_ext_refcnt); 558 558 # undef ZONE_DESTROY 559 559 /** @todo do finalize here.*/ -
trunk/src/VBox/Devices/Network/slirp/slirp.c
r42100 r43233 525 525 RTMemFree(ac); 526 526 } 527 slirpTftpTerm(pData); 527 528 bootp_dhcp_fini(pData); 528 529 m_fini(pData); -
trunk/src/VBox/Devices/Network/slirp/tftp.c
r42431 r43233 762 762 } 763 763 764 DECLCALLBACK(int)slirpTftpInit(PNATState pData)764 int slirpTftpInit(PNATState pData) 765 765 { 766 766 AssertPtrReturn(pData, VERR_INVALID_PARAMETER); … … 770 770 } 771 771 772 DECLCALLBACK(int) slirpTftpInput(PNATState pData, struct mbuf *pMbuf) 772 void slirpTftpTerm(PNATState pData) 773 { 774 RTMemFree(pData->pvTftpSessions); 775 } 776 777 int slirpTftpInput(PNATState pData, struct mbuf *pMbuf) 773 778 { 774 779 PTFTPIPHDR pTftpIpHeader = NULL; -
trunk/src/VBox/Devices/Network/slirp/tftp.h
r41987 r43233 35 35 36 36 37 int slirpTftpInput(PNATState pData, struct mbuf *m); 38 int slirpTftpInit(PNATState); 37 int slirpTftpInput(PNATState pData, struct mbuf *m); 38 int slirpTftpInit(PNATState pData); 39 void slirpTftpTerm(PNATState pData); 39 40 #endif
Note:
See TracChangeset
for help on using the changeset viewer.