Ticket #15 (closed defect: wontfix)
Opened 4 years ago
Last modified 3 years ago
Small memory leak in usb_parse_configuration
| Reported by: | quozl | Owned by: | |
|---|---|---|---|
| Milestone: | 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
Changed 4 years ago by quozl
comment:1 Changed 4 years ago by dsd
- Component changed from libusb to libusb-0.1 (unmaintained)
comment:2 Changed 3 years ago by stuge
- Resolution set to wontfix
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Closing this since the code is unmaintained. The patch remains attached here.