Changeset 59143 in vbox for trunk/src/VBox
- Timestamp:
- Dec 15, 2015 11:15:02 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/udp.c
r59063 r59143 191 191 { 192 192 struct sockaddr_in dst, src; 193 int error;194 193 195 194 src.sin_addr.s_addr = ip->ip_dst.s_addr; … … 200 199 m_adj(m, sizeof(struct udpiphdr)); 201 200 202 error= hostresolver(pData, m);203 if ( error)201 m = hostresolver(pData, m); 202 if (m == NULL) 204 203 goto done_free_mbuf; 205 204 … … 397 396 * buffers here. 398 397 */ 399 m_freem(pData, m); 398 if (m != NULL) 399 m_freem(pData, m); 400 400 LogFlowFuncLeave(); 401 401 return;
Note:
See TracChangeset
for help on using the changeset viewer.