Re: [PATCH] HID: input: fix leaking custom input node name

2018-08-28 Thread Jiri Kosina
On Tue, 28 Aug 2018, Stefan Agner wrote: > Make sure to free the custom input node name on disconnect. > > Cc: sta...@vger.kernel.org # v4.18+ > Fixes: c554bb045511 ("HID: input: append a suffix matching the application") > Signed-off-by: Stefan Agner > --- > Found with kmemleak, after unpluggin

[PATCH] HID: input: fix leaking custom input node name

2018-08-28 Thread Stefan Agner
Make sure to free the custom input node name on disconnect. Cc: sta...@vger.kernel.org # v4.18+ Fixes: c554bb045511 ("HID: input: append a suffix matching the application") Signed-off-by: Stefan Agner --- Found with kmemleak, after unplugging a Logitech Unifying receiver: unreferenced object 0xc