1
0
Fork 0
remarkable-linux/drivers/misc/ti-st
Anton Vasilyev 2458e91302 misc: ti-st: Fix memory leak in the error path of probe()
[ Upstream commit 81ae962d7f ]

Free resources instead of direct return of the error code if kim_probe
fails.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-19 22:43:39 +02:00
..
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile misc: ti-st: Kconfig & Makefile for TI_ST 2010-10-06 08:27:00 -07:00
st_core.c networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
st_kim.c misc: ti-st: Fix memory leak in the error path of probe() 2018-09-19 22:43:39 +02:00
st_ll.c Revert "ti-st: add device tree support" 2015-08-05 13:24:12 -07:00