ecore-drm: Call inputs shutdown before eina_shutdown

As we end up freeing the input hash inside the
_ecore_drm_inputs_shutdown function, it should be called before we
shutdown eina

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
Chris Michael 2016-01-11 13:57:23 -05:00
parent 987fde58a7
commit d50784a086
1 changed files with 2 additions and 2 deletions

View File

@ -127,6 +127,8 @@ ecore_drm_shutdown(void)
/* if we are still in use, decrement init count and get out */
if (--_ecore_drm_init_count != 0) return _ecore_drm_init_count;
_ecore_drm_inputs_shutdown();
/* close eeze */
eeze_shutdown();
@ -143,8 +145,6 @@ ecore_drm_shutdown(void)
/* shutdown eina */
eina_shutdown();
_ecore_drm_inputs_shutdown();
/* return init count */
return _ecore_drm_init_count;
}