Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 94bfc84 in mainline


Ignore:
Timestamp:
2011-12-14T18:07:31Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
01086cfe
Parents:
5dd4294b
Message:

libusbdev: Close hc connection used to unregister pipes.

Fixes phone leak.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/devdrv.c

    r5dd4294b r94bfc84  
    443443                return rc;
    444444        }
     445        /* Open connection to hc for pipe unregister. */
    445446        rc = usb_hc_connection_open(&hc_conn);
    446447        if (rc != EOK) {
     
    457458        }
    458459
     460        usb_hc_connection_close(&hc_conn);
    459461        free(pipes);
    460462
Note: See TracChangeset for help on using the changeset viewer.