Files
linux/drivers
Christophe JAILLET e7d8110180 usb: gadget: net2272: Fix a memory leak in an error handling path in 'net2272_plat_probe()'
commit ccaef7e6e3 upstream.

'dev' is allocated in 'net2272_probe_init()'. It must be freed in the error
handling path, as already done in the remove function (i.e.
'net2272_plat_remove()')

Fixes: 90fccb529d ("usb: gadget: Gadget directory cleanup - group UDC drivers")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-15 17:28:11 +09:00
..
2023-05-15 16:19:29 +09:00
2023-05-15 12:46:28 +09:00
2023-05-15 17:22:47 +09:00
2023-05-15 10:37:00 +09:00
2023-05-15 17:23:37 +09:00
2023-05-15 16:59:11 +09:00
2023-05-15 13:00:07 +09:00