Changeset 9636bad in mainline
- Timestamp:
- 2011-10-12T18:30:52Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 51f033ce
- Parents:
- 844f4ef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/devdrv.c
r844f4ef r9636bad 573 573 /* Ignore errors and hope for the best. */ 574 574 usb_device_destroy_pipes(dev->ddf_dev, dev->pipes, dev->pipes_count); 575 if (dev->descriptors.configuration != NULL) { 576 free(dev->descriptors.configuration); 577 } 575 free(dev->descriptors.configuration); 578 576 579 577 if (dev->alternate_interfaces != NULL) { 580 if (dev->alternate_interfaces->alternatives != NULL) { 581 free(dev->alternate_interfaces->alternatives); 582 } 583 free(dev->alternate_interfaces); 584 } 578 free(dev->alternate_interfaces->alternatives); 579 } 580 free(dev->alternate_interfaces); 585 581 586 582 free(dev);
Note:
See TracChangeset
for help on using the changeset viewer.