xserver-multidpi/hw/kdrive/linux
Paulius Zaleckas 8990b31214 KDrive: Fix error handlig in tslib driver
If ts_open() fails and return NULL, then next call to ts_fd()
segfaults because of NULL dereference. There is no need to
check output of ts_fd() as ts_open() did this internally.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-10-22 13:36:10 +10:00
..
evdev.c Revert "Add a "flags" field to DeleteInputDeviceRequest." 2010-05-26 07:54:35 -07:00
keyboard.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
linux.c kdrive: Add option to compile out input drivers 2010-01-06 19:47:53 +06:00
Makefile.am kdrive: klinux.h breaks make dist 2010-01-10 12:01:58 -08:00
mouse.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
ms.c Remove trailing whitespace 2010-01-01 23:22:49 -08:00
ps2.c Remove trailing whitespace 2010-01-01 23:22:49 -08:00
tslib.c KDrive: Fix error handlig in tslib driver 2010-10-22 13:36:10 +10:00