diff options
author | Chris Michael <cpmichael@osg.samsung.com> | 2016-01-11 13:57:23 -0500 |
---|---|---|
committer | Chris Michael <cpmichael@osg.samsung.com> | 2016-01-12 09:26:48 -0500 |
commit | d50784a086d9e4b6357963bf542ccd872b5a953b (patch) | |
tree | f833bb0638270eb1fc2d8ff6b5a8a60109fe5de3 | |
parent | 987fde58a7ed10b6aef7aea069ae1bc129191430 (diff) | |
download | efl-d50784a086d9e4b6357963bf542ccd872b5a953b.tar.gz |
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>
-rw-r--r-- | src/lib/ecore_drm/ecore_drm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_drm/ecore_drm.c b/src/lib/ecore_drm/ecore_drm.c index 02dd76edbb..07b6a4f9cb 100644 --- a/src/lib/ecore_drm/ecore_drm.c +++ b/src/lib/ecore_drm/ecore_drm.c @@ -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; } |