Changeset d6c953e9 in mainline for uspace/drv/bus/usb/usbmast/main.c
- Timestamp:
- 2011-10-05T21:34:47Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1114173, f98bec0f
- Parents:
- 4c50c8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmast/main.c
r4c50c8d rd6c953e9 97 97 if (mdev == NULL) { 98 98 usb_log_error("Failed allocating softstate.\n"); 99 rc = ENOMEM; 100 goto error; 99 return ENOMEM; 101 100 } 102 101 … … 125 124 error: 126 125 /* XXX Destroy functions */ 127 if (mdev != NULL)128 free(mdev);129 126 return rc; 130 127 }
Note:
See TracChangeset
for help on using the changeset viewer.