VirtualBox

Changeset 65810 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Feb 20, 2017 12:00:10 PM (8 years ago)
Author:
vboxsync
Message:

Devices/Network/slirp: don't forget to free the memory for port forward rules when shutting down the stack

File:
1 edited

Legend:

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

    r64679 r65810  
    562562        RTMemFree(ac);
    563563    }
     564    while (!LIST_EMPTY(&pData->port_forward_rule_head))
     565    {
     566        struct port_forward_rule *rule = LIST_FIRST(&pData->port_forward_rule_head);
     567        LIST_REMOVE(rule, list);
     568        RTMemFree(rule);
     569    }
    564570    slirpTftpTerm(pData);
    565571    bootp_dhcp_fini(pData);
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