Ticket #15 (closed defect: wontfix)
Small memory leak in usb_parse_configuration
| Reported by: | quozl | Owned by: | |
|---|---|---|---|
| Component: | libusb-0.1 (unmaintained) | Keywords: | memory leak |
| Cc: | Blocked By: | ||
| Blocks: |
Description
Memory allocated as 'extra' at line 367 of descriptors.c is never freed.
Needs a line in usb_destroy_configuration() to free it. patch attached.
Note, (struct)interface->extra IS free, but (struct)usb_config_descriptor->extra is not.
This turns into megs a day of leaked memory on a pcscd using box of ours.
Not major, but for us anyway, worth fixing.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.