summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-07-06 12:58:57 -0400
committerChris Michael <cp.michael@samsung.com>2014-07-06 12:58:57 -0400
commit5eef4351fdfa6ae4811be8fb297d1dca1d1b0c7a (patch)
tree98e6d8a3c52d8bf31010b3f794fff11ea37794e0 /src/lib/ecore_drm/ecore_drm.c
parent0168b96040a6010fc577daa526f5d5a928f705a4 (diff)
ecore-drm: Shutdown ecore_event on udev error.
Since we have already called ecore_event_init prior to using any udev functions, if udev fails for some reason or another, we should also shutdown ecore_event subsystem. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm/ecore_drm.c')
-rw-r--r--src/lib/ecore_drm/ecore_drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/ecore_drm.c b/src/lib/ecore_drm/ecore_drm.c
index 42f526854d..0c938cb7c2 100644
--- a/src/lib/ecore_drm/ecore_drm.c
+++ b/src/lib/ecore_drm/ecore_drm.c
@@ -353,6 +353,7 @@ spawn_err:
353sock_err: 353sock_err:
354 if (udev) udev_unref(udev); 354 if (udev) udev_unref(udev);
355udev_err: 355udev_err:
356 ecore_event_shutdown();
356 ecore_shutdown(); 357 ecore_shutdown();
357 eina_log_domain_unregister(_ecore_drm_log_dom); 358 eina_log_domain_unregister(_ecore_drm_log_dom);
358 _ecore_drm_log_dom = -1; 359 _ecore_drm_log_dom = -1;