Changeset 8e7c9fe in mainline for uspace/lib/drv/generic/remote_usbhc.c
- Timestamp:
- 2014-09-12T03:45:25Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c53b58e
- Parents:
- 3eb0c85 (diff), 105d8d6 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usbhc.c
r3eb0c85 r8e7c9fe 212 212 static void async_transaction_destroy(async_transaction_t *trans) 213 213 { 214 if (trans == NULL) {215 return; 216 }217 if (trans->buffer != NULL) {214 if (trans == NULL) 215 return; 216 217 if (trans->buffer != NULL) 218 218 free(trans->buffer); 219 } 220 219 221 220 free(trans); 222 221 } … … 304 303 async_answer_0(callid, ENOMEM); 305 304 async_transaction_destroy(trans); 305 return; 306 306 } 307 307
Note:
See TracChangeset
for help on using the changeset viewer.