VirtualBox

Changeset 43804 in vbox


Ignore:
Timestamp:
Nov 5, 2012 2:35:44 PM (12 years ago)
Author:
vboxsync
Message:

Etherboot/nrv2b: unimportant memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/Etherboot-src/util/nrv2b.c

    r3694 r43804  
    11031103                swd->n = in_len;
    11041104        if (swd->f < 8 || swd->n < 256)
     1105        {
     1106                free(swd);
    11051107                return UCL_E_INVALID_ARGUMENT;
     1108        }
    11061109
    11071110        r = init_match(c,swd,NULL,0, SC_FLAGS);
     
    11211124        r = find_match(c,swd,0,0);
    11221125        if (r != UCL_E_OK)
     1126        {
     1127                free(swd);
    11231128                return r;
     1129        }
    11241130        while (c->look > 0)
    11251131        {
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