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

Changeset 4453a12a in mainline


Ignore:
Timestamp:
2020-03-22T14:10:54Z (13 days ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
f019125a
Parents:
44dde42
git-author:
Manuele Conti <manuele.conti@…> (2020-03-20 15:17:29)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2020-03-22 14:10:54)
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 r4453a12a  
    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.