Changeset 40623 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Mar 26, 2012 3:21:50 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/libalias/alias_db.c
r40622 r40623 987 987 void slirpDeleteLinkSocket(void *pvLnk) 988 988 { 989 struct alias_link *lnk = (struct alias_link *)pvLnk; 989 struct alias_link *lnk = (struct alias_link *)pvLnk; 990 if ( lnk 991 && lnk->pSo) 992 { 993 struct libalias *la = lnk->la; 994 la->sockCount--; 990 995 lnk->pSo = NULL; 996 } 991 997 } 992 998 #endif /* !VBOX */ … … 1033 1039 if (lnk->pSo) 1034 1040 { 1035 la->sockCount--; 1041 /* libalias's sockCount decremented in slirpDeleteLinkSocket, 1042 * which called from sofree 1043 */ 1044 /* la->sockCount--; */ 1036 1045 /* should we be more smart, or it's enough to be 1037 1046 * narrow-minded and just do sofree here
Note:
See TracChangeset
for help on using the changeset viewer.