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>
This commit is contained in:
Chris Michael 2014-07-06 12:58:57 -04:00
parent 0168b96040
commit 5eef4351fd
1 changed files with 1 additions and 0 deletions

View File

@ -353,6 +353,7 @@ spawn_err:
sock_err:
if (udev) udev_unref(udev);
udev_err:
ecore_event_shutdown();
ecore_shutdown();
eina_log_domain_unregister(_ecore_drm_log_dom);
_ecore_drm_log_dom = -1;