Changeset d31705d in mainline


Ignore:
Timestamp:
2017-08-09T19:00:50Z (7 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
40053529
Parents:
9ee13a7
Message:

Added missing command deallocation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/rh.c

    r9ee13a7 rd31705d  
    7777        /* Initialize slot_ctx according to section 4.3.3 point 3. */
    7878        /* Attaching to root hub port, root string equals to 0. */
    79         // TODO: shouldn't these macros consider endianity?
    8079        XHCI_SLOT_ROOT_HUB_PORT_SET(ictx->slot_ctx, port);
    8180        XHCI_SLOT_CTX_ENTRIES_SET(ictx->slot_ctx, 1);
     
    123122                goto err_dctx;
    124123
     124        xhci_free_command(cmd);
     125        ictx = NULL;
     126
    125127        return EOK;
    126128
Note: See TracChangeset for help on using the changeset viewer.