xserver/hw/kdrive
Paulius Zaleckas 46314e1e7a 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>
(cherry picked from commit 8990b31214)
2010-11-10 11:18:09 +10:00
..
ephyr dix: purge leftover manual key down bit setting. 2010-07-07 13:29:46 +10: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-11-10 11:18:09 +10:00
src kdrive: Get rid of xstrdup when argument is definitely non-NULL 2010-06-11 19:04:23 +07: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