VirtualBox

Changeset 50006 in vbox for trunk/src/VBox/NetworkServices


Ignore:
Timestamp:
Dec 26, 2013 4:10:51 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
91452
Message:

We still own pbuf after ip_output_if/ip6_output_if so call pbuf_free
always, not just on errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/pxping.c

    r49865 r50006  
    18511851        DPRINTF(("%s: ip_output_if: %s\n",
    18521852                 __func__, proxy_lwip_strerr(error)));
    1853         pbuf_free(msg->p);
    1854     }
    1855 
     1853    }
     1854    pbuf_free(msg->p);
    18561855    free(msg);
    18571856}
     
    19221921        DPRINTF(("%s: ip6_output_if: %s\n",
    19231922                 __func__, proxy_lwip_strerr(error)));
    1924         pbuf_free(msg->p);
    1925     }
    1926 
     1923    }
     1924    pbuf_free(msg->p);
    19271925    free(msg);
    19281926}
Note: See TracChangeset for help on using the changeset viewer.

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