Changeset 113093a in mainline for uspace/drv/bus/usb/vhc/connhost.c


Ignore:
Timestamp:
2011-09-24T21:39:41Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1924bd43, f9d8c3a
Parents:
b3bf143 (diff), 024fcc5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from lp:~vojtech-horky/helenos/usb

  • Fixed #349 (usbhid hit a malloc assertion when mouse is moved for the first time)
  • Fixed #377 (Console dies on a keypress of USB keyboard when in kconsole)
  • Added another virtual USB HID (Logitech Wireless)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/vhc/connhost.c

    rb3bf143 r113093a  
    440440        int rc = vhc_virtdev_add_transfer(vhc, transfer);
    441441        if (rc != EOK) {
    442                 free(transfer->setup_buffer);
     442                if (transfer->setup_buffer != NULL) {
     443                        free(transfer->setup_buffer);
     444                }
    443445                free(transfer);
    444446                return rc;
Note: See TracChangeset for help on using the changeset viewer.