aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-01-11 13:57:23 -0500
committerChris Michael <cpmichael@osg.samsung.com>2016-01-12 09:26:48 -0500
commitd50784a086d9e4b6357963bf542ccd872b5a953b (patch)
treef833bb0638270eb1fc2d8ff6b5a8a60109fe5de3 /src/lib/ecore_drm
parentEvas textblock: Remove redundant NULL check. (diff)
downloadefl-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>
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/ecore_drm.c4
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;
}