summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-06-02 18:23:45 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-06-02 18:23:42 -0400
commitcb18ce4a90fa6c46e350d0e2737719027d9e1bd3 (patch)
treeab86c32165290915a075299fd63b0356c7808c71 /src
parent4c7c613e768febdec27324527ccd320c4aa090db (diff)
ee drm: null elput device pointer when deleting device
Diffstat (limited to '')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index b0e0ff41b9..cea1c6273a 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -155,6 +155,7 @@ _drm_device_change(void *d EINA_UNUSED, int t EINA_UNUSED, void *event)
155 { 155 {
156 if (dev != ev->device->evas_device) continue; 156 if (dev != ev->device->evas_device) continue;
157 evas_device_del(dev); 157 evas_device_del(dev);
158 ev->device->evas_device = NULL;
158 break; 159 break;
159 } 160 }
160 break; 161 break;