Changeset cddd151 in mainline for uspace/drv/bus/usb/usbhid/usbhid.c
- Timestamp:
- 2011-10-14T14:37:32Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7b54b99
- Parents:
- e5024111
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/usbhid.c
re5024111 rcddd151 669 669 } 670 670 671 // free the subdrivers info 672 if (hid_dev->subdrivers != NULL) { 673 free(hid_dev->subdrivers); 674 } 675 676 // destroy the parser 671 /* Free allocated structures */ 672 free(hid_dev->subdrivers); 673 free(hid_dev->report_desc); 674 675 /* Destroy the parser */ 677 676 if (hid_dev->report != NULL) { 678 677 usb_hid_free_report(hid_dev->report); 679 678 } 680 679 681 if (hid_dev->report_desc != NULL) {682 free(hid_dev->report_desc);683 }684 680 } 685 681
Note:
See TracChangeset
for help on using the changeset viewer.