Opened 5 years ago

Closed 4 years ago

#10502 closed bug (fixed)

[drivers/input/usb_hid] HIDParser.cpp: Memory leak

Reported by: mt Owned by: waddlesplash
Priority: normal Milestone: R1
Component: Drivers Version: R1/Development
Keywords: usb_hid Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

In HIDParser::ParseReportDescriptor(), function returns without freeing usageStack, pointed by cppcheck. http://cgit.haiku-os.org/haiku/tree/src/add-ons/kernel/drivers/input/usb_hid/HIDParser.cpp#n69

Attachments (1)

0006-Fix-memory-leak.patch (816 bytes) - added by mt 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by mt

Attachment: 0006-Fix-memory-leak.patch added

comment:1 Changed 5 years ago by mt

Has a Patch: set

comment:2 Changed 4 years ago by waddlesplash

Owner: changed from nobody to waddlesplash
Status: newin-progress

comment:3 Changed 4 years ago by waddlesplash

Resolution: fixed
Status: in-progressclosed

This patch was applied at some point.

Note: See TracTickets for help on using tickets.