summaryrefslogtreecommitdiff
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
parent987fde58a7ed10b6aef7aea069ae1bc129191430 (diff)
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 02dd76e..07b6a4f 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)
127 /* if we are still in use, decrement init count and get out */ 127 /* if we are still in use, decrement init count and get out */
128 if (--_ecore_drm_init_count != 0) return _ecore_drm_init_count; 128 if (--_ecore_drm_init_count != 0) return _ecore_drm_init_count;
129 129
130 _ecore_drm_inputs_shutdown();
131
130 /* close eeze */ 132 /* close eeze */
131 eeze_shutdown(); 133 eeze_shutdown();
132 134
@@ -143,8 +145,6 @@ ecore_drm_shutdown(void)
143 /* shutdown eina */ 145 /* shutdown eina */
144 eina_shutdown(); 146 eina_shutdown();
145 147
146 _ecore_drm_inputs_shutdown();
147
148 /* return init count */ 148 /* return init count */
149 return _ecore_drm_init_count; 149 return _ecore_drm_init_count;
150} 150}