xserver-multidpi/hw/kdrive
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
..
ephyr xserver: delete pervasively use of DISPATCH_PROC 2010-09-28 16:45:05 +03:00
fake Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
fbdev Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
linux KDrive: Fix error handlig in tslib driver 2010-10-22 13:36:10 +10:00
src Replace malloc/strlen/strcpy with strdup. 2010-08-27 19:05:48 -04:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00
Xkdrive.man The great kdrive purge. 2008-05-16 08:16:01 -04:00