compositor: first destroy backend routines and then display
authorTiago Vignatti <tiago.vignatti@intel.com>
Sun, 18 Dec 2011 22:04:46 +0000 (00:04 +0200)
committerTiago Vignatti <tiago.vignatti@intel.com>
Sun, 18 Dec 2011 23:07:52 +0000 (01:07 +0200)
commit9e2be084181a14ea91e7f87e7e2c806a7361f121
tree618ae8775305f5b428cfe5f9766429440d743f61
parentc349e1d0b009c9593cf90fff4cda55dfdea07dbc
compositor: first destroy backend routines and then display

I caught this when an evdev device fd was trying to trigger the main event
loop, which was already free'd and causing an invalid read.

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
compositor/compositor.c