VirtualBox

Changeset 25156 in vbox for trunk/src


Ignore:
Timestamp:
Dec 3, 2009 3:57:40 AM (15 years ago)
Author:
vboxsync
Message:

NAT: freeing allocated socket structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/libalias/alias_db.c

    r25153 r25156  
    811811        return (1);
    812812    } else {
    813         if (sock > 0)
     813#ifdef VBOX
     814        if (sock > 0)
    814815            closesocket(sock);
     816        /* socket wasn't enqueued so we shouldn't use sofree */
     817        RTMemFree(so);
     818#else
     819            close(sock);
     820#endif
    815821        return (0);
    816822    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette