[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <r3965n0n-p102-322s-52qs-85n890685rn0@xreary.bet>
Date: Sat, 10 Jan 2026 10:01:24 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: Haotian Zhang <vulab@...as.ac.cn>
cc: roderick.colenbrander@...y.com, bentiss@...nel.org,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: playstation: Add missing check for
input_ff_create_memless
On Sat, 10 Jan 2026, Jiri Kosina wrote:
> While reviewing it though, I came across the fact that just one line
> below, if input_register_device() fails, I believe we're leaking the
> already allocated struct input_dev.
Actually we're not, it's managed device. Sorry for the noise.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists