wayland-drm: close fd after the display is uninitialized
authorPhilipp Brüschweiler <blei42@gmail.com>
Wed, 15 Aug 2012 16:14:44 +0000 (18:14 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 16 Aug 2012 17:17:06 +0000 (13:17 -0400)
commit0efd564a09988a4a7f49cab70b778026459dff1b
tree671ab2b44c259e098799c9f27707d66e79096b76
parent50dec637909cfe8fa53582f2f64ab261b123f092
wayland-drm: close fd after the display is uninitialized

This fixes a "kernel rejected pushbuf: Bad file descriptor" error on
wl_drm display destruction.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/gallium/state_trackers/egl/wayland/native_drm.c