Changes in / [1181249:10849ffc] in mainline


Ignore:
Location:
uspace/drv/usbhid
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/kbd/kbddev.c

    r1181249 r10849ffc  
    10461046                free((*kbd_dev)->led_data);
    10471047        }
     1048        if ((*kbd_dev)->output_buffer != NULL) {
     1049                free((*kbd_dev)->output_buffer);
     1050        }
    10481051        if ((*kbd_dev)->led_path != NULL) {
    10491052                usb_hid_report_path_free((*kbd_dev)->led_path);
  • uspace/drv/usbhid/mouse/mousedev.c

    r1181249 r10849ffc  
    268268            USB_HID_REPORT_TYPE_INPUT);
    269269
    270         while (field != NULL) {
     270        if (field != NULL) {
    271271                usb_log_debug(NAME " VALUE(%X) USAGE(%X)\n", field->value,
    272272                    field->usage);
Note: See TracChangeset for help on using the changeset viewer.