ee drm: null elput device pointer when deleting device

This commit is contained in:
Mike Blumenkrantz 2017-06-02 18:23:45 -04:00
parent 4c7c613e76
commit cb18ce4a90
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ _drm_device_change(void *d EINA_UNUSED, int t EINA_UNUSED, void *event)
{
if (dev != ev->device->evas_device) continue;
evas_device_del(dev);
ev->device->evas_device = NULL;
break;
}
break;