Changeset 4453a12a in mainline


Ignore:
Timestamp:
2020-03-22T14:10:54Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
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.