diff options
author | Benjamin Franzke <[email protected]> | 2011-12-13 14:43:48 +0100 |
---|---|---|
committer | Benjamin Franzke <[email protected]> | 2011-12-13 15:32:43 +0100 |
commit | 2a58453e25899e726f02db005de0e1296c326845 (patch) | |
tree | 35ec150d0a9aa04b0645303ecdf4e52a3601c050 /src/egl/drivers/dri2/egl_dri2.h | |
parent | cbd65fe14917def9c0f401c973394d6456cbe83b (diff) |
egl_dri2: Fix some valgrind reported leaks
Free the device_name, reported by Pekka Paalanen.
Destroy wayland display and drm resources,
if created by dri2_initialize_wayland.
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.h')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index 95b87b87500..193a866324f 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -101,9 +101,9 @@ struct dri2_egl_display __DRIimageExtension *image; int fd; + int own_device; #ifdef HAVE_DRM_PLATFORM struct gbm_dri_device *gbm_dri; - int own_gbm_device; #endif char *device_name; |