summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-11-16 14:10:52 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-11-16 14:11:18 -0500
commit2a7d4d62db481c50dea1717777f099e26886f22c (patch)
treef6f45198ac612b370fbb3e09eb5c8a24cf5817cb /src/modules/ecore_evas
parentcc4b54ec0a69c43f5163addbb6a4f4a6615cb8c0 (diff)
ecore-evas drm: null global device pointer after free
ref T2844 @fix
Diffstat (limited to 'src/modules/ecore_evas')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c2
1 files changed, 2 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 f7cfc553e6..a806cc0b36 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -575,6 +575,7 @@ sprite_err:
575dev_open_err: 575dev_open_err:
576 ecore_drm_launcher_disconnect(dev); 576 ecore_drm_launcher_disconnect(dev);
577 ecore_drm_device_free(dev); 577 ecore_drm_device_free(dev);
578 dev = NULL;
578launcher_err: 579launcher_err:
579dev_err: 580dev_err:
580 ecore_drm_shutdown(); 581 ecore_drm_shutdown();
@@ -592,6 +593,7 @@ _ecore_evas_drm_shutdown(void)
592 ecore_drm_device_close(dev); 593 ecore_drm_device_close(dev);
593 ecore_drm_launcher_disconnect(dev); 594 ecore_drm_launcher_disconnect(dev);
594 ecore_drm_device_free(dev); 595 ecore_drm_device_free(dev);
596 dev = NULL;
595 ecore_drm_shutdown(); 597 ecore_drm_shutdown();
596 598
597 ecore_event_evas_shutdown(); 599 ecore_event_evas_shutdown();