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

Changeset ac5c37c in mainline


Ignore:
Timestamp:
2020-03-20T15:17:29Z (2 weeks ago)
Author:
Manuele Conti <manuele.conti@…>
Parents:
44dde42
Message:

Fix memory leak usb_hid_parse_report_descriptor by free report_item variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/src/hiddescriptor.c

    r44dde42 rac5c37c  
    366366        /* usage path context initialization */
    367367        if (!(usage_path = usb_hid_report_path())) {
     368                free(report_item);
    368369                return ENOMEM;
    369370        }
Note: See TracChangeset for help on using the changeset viewer.