linux/drivers/misc/ti-st
Anton Vasilyev 7c075f0a0b 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:48:57 +02:00
..
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile
st_core.c ti-st: use worker instead of calling st_int_write in wake up 2015-09-20 22:52:13 -07:00
st_kim.c misc: ti-st: Fix memory leak in the error path of probe() 2018-09-19 22:48:57 +02:00
st_ll.c Revert "ti-st: add device tree support" 2015-08-05 13:24:12 -07:00