Thread (3 messages) flat view 3 messages, 3 authors, 2022-11-02

Re: [PATCH] HID: hyperv: fix possible memory leak in mousevsc_probe()

From: Wei Liu <wei.liu@kernel.org>
Date: 2022-11-01 10:45:20
Also in: linux-hyperv

On Fri, Oct 28, 2022 at 09:40:43PM +0800, Yang Yingliang wrote:
If hid_add_device() returns error, it should call hid_destroy_device()
to free hid_dev which is allocated in hid_allocate_device().

Fixes: 74c4fb058083 ("HID: hv_mouse: Properly add the hid device")
Signed-off-by: Yang Yingliang <redacted>
Reviewed-by: Wei Liu <wei.liu@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help