Changeset d6c953e9 in mainline for uspace/drv/bus/usb/usbmast/main.c


Ignore:
Timestamp:
2011-10-05T21:34:47Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1114173, f98bec0f
Parents:
4c50c8d
Message:

Do not interfere with DDF deallocating device driver data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbmast/main.c

    r4c50c8d rd6c953e9  
    9797        if (mdev == NULL) {
    9898                usb_log_error("Failed allocating softstate.\n");
    99                 rc = ENOMEM;
    100                 goto error;
     99                return ENOMEM;
    101100        }
    102101
     
    125124error:
    126125        /* XXX Destroy functions */
    127         if (mdev != NULL)
    128                 free(mdev);
    129126        return rc;
    130127}
Note: See TracChangeset for help on using the changeset viewer.