Messages in this thread | | | Date | Thu, 14 Jan 2021 07:57:42 -0500 | From | Peilin Ye <> | Subject | Re: [PATCH] HID: wacom: Fix memory leak in wacom_probe() |
| |
Hi Jiri,
On Thu, Jan 14, 2021 at 01:21:13PM +0100, Jiri Kosina wrote: > > wacom_probe() is leaking memory. Free `&wacom_wac->pen_fifo` when > > hid_parse() or wacom_parse_and_register() fails. > > Thanks for the patch. It's however already been fixed in > hid.git#for-5.11/upstream-fixes (37309f47e2f5) branch that will be going > to Linus shortly.
Ah... I checked linux-input@ before I started working on the bug, but it seems that Ping sent out a patch just a few hours before I did.
Sorry for the race condition, Peilin Ye
| |