xserver/hw
Peter Hutterer 8ffddbcf72 xfree86: Remove devices that failed to enable on startup
Devices that succeeded during PreInit and DEVICE_INIT but failed in
DEVICE_ON would be deleted through xf86DeleteInput but not removed from the
list of input devices (and not turned off). The result was a double free on
server shutdown.

Fix this by calling RemoveDevice if EnableDevice fails.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2011-07-27 09:31:01 +10:00
..
dmx glx: Remove a few lingering traces of __GLXscreen.GLXVersion 2011-07-07 18:09:21 +01:00
kdrive input: free the EQ allocated memory on shutdown (#38634) 2011-07-01 08:46:28 +10:00
vfb input: free the EQ allocated memory on shutdown (#38634) 2011-07-01 08:46:28 +10:00
xfree86 xfree86: Remove devices that failed to enable on startup 2011-07-27 09:31:01 +10:00
xnest input: free the EQ allocated memory on shutdown (#38634) 2011-07-01 08:46:28 +10:00
xquartz glx: Remove a few lingering traces of __GLXscreen.GLXVersion 2011-07-07 18:09:21 +01:00
xwin XWinrc: replace hard coded section number with __filemansuffix__ 2011-07-07 18:12:55 +01:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00