i915: More cleanup of display
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Mon, 7 Jul 2008 13:26:47 +0000 (15:26 +0200)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Mon, 7 Jul 2008 13:26:47 +0000 (15:26 +0200)
src/gallium/winsys/egl_drm/intel/intel_egl.c

index ed96703e37e8425cbb10d80e5b154bc28ca44d58..4d7e0f4bd5786b1c47d884abbd96560cdc45e5d6 100644 (file)
@@ -213,6 +213,8 @@ drm_terminate(_EGLDriver *drv, EGLDisplay dpy)
        drmClose(drm_drv->device->drmFD);
 
        free(drm_drv->device);
+
+       _eglCleanupDisplay(drv);
        free(drm_drv);
 
        return EGL_TRUE;