Don't crash X when the tablet wasn't found.
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 9 Jul 2007 09:03:00 +0000 (11:03 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 9 Jul 2007 09:03:00 +0000 (11:03 +0200)
commit171d4c8dc6136aa8c14aedd0ee107d6ba957de04
treed490e08ef5f9ccade8932c936153baa631495ee3
parentc69e2c95b9eb2381709c9de14957d24ab919b5bc
Don't crash X when the tablet wasn't found.

X would crash when switching to console if the acecad module was loaded but the tablet had not been configured.

Fix by properly freeing structures before returning NULL in PreInit()
src/acecad.c