Opened 11 years ago

Closed 10 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:
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 11 years ago.

Download all attachments as: .zip

Change History (4)

by mt, 11 years ago

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

comment:1 by mt, 11 years ago

patch: 01

comment:2 by waddlesplash, 10 years ago

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

comment:3 by waddlesplash, 10 years ago

Resolution: fixed
Status: in-progressclosed

This patch was applied at some point.

Note: See TracTickets for help on using tickets.