Changeset 36cd378 in mainline for uspace/drv/usbhub/usbhub.c


Ignore:
Timestamp:
2011-04-07T17:07:22Z (13 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3e490eb
Parents:
a4e18e1
Message:

some more comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/usbhub.c

    ra4e18e1 r36cd378  
    399399        usb_log_debug2("freeing data\n");
    400400        free(serialized_descriptor);
    401         hub_info->descriptor = descriptor;
    402         hub_info->not_initialized_non_removables =
     401        //hub_info->descriptor = descriptor;
     402        /*hub_info->not_initialized_non_removables =
    403403                (uint8_t*) malloc((hub_info->port_count + 8) / 8);
    404404        memcpy(hub_info->not_initialized_non_removables,
     
    406406                (hub_info->port_count + 8) / 8
    407407                );
    408 
    409         //free(descriptor->devices_removable);
    410         //free(descriptor);
     408                */
     409        free(descriptor->devices_removable);
     410        free(descriptor);
    411411        return EOK;
    412412}
Note: See TracChangeset for help on using the changeset viewer.