summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_fb/ecore_fb_ts.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-07-30 02:50:50 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-07-30 02:50:50 +0000
commit6dd10420334f49a66e9f56b1eabb051bbacf3beb (patch)
treee856aeb313c1b22bfeeb0cb58c0b82f473c0953d /legacy/ecore/src/lib/ecore_fb/ecore_fb_ts.c
parentbdce85e21c000ef6401fb29ae3ebd31781e976ae (diff)
fix close before fd handler del's
SVN revision: 50670
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb_ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb_ts.c b/legacy/ecore/src/lib/ecore_fb/ecore_fb_ts.c
index 4d002a2e2b..be08da6900 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb_ts.c
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb_ts.c
@@ -130,9 +130,9 @@ ecore_fb_ts_init(void)
130EAPI void 130EAPI void
131ecore_fb_ts_shutdown(void) 131ecore_fb_ts_shutdown(void)
132{ 132{
133 if (_ecore_fb_ts_fd >= 0) close(_ecore_fb_ts_fd);
134 if (_ecore_fb_ts_fd_handler_handle) 133 if (_ecore_fb_ts_fd_handler_handle)
135 ecore_main_fd_handler_del(_ecore_fb_ts_fd_handler_handle); 134 ecore_main_fd_handler_del(_ecore_fb_ts_fd_handler_handle);
135 if (_ecore_fb_ts_fd >= 0) close(_ecore_fb_ts_fd);
136 _ecore_fb_ts_fd = -1; 136 _ecore_fb_ts_fd = -1;
137 _ecore_fb_ts_fd_handler_handle = NULL; 137 _ecore_fb_ts_fd_handler_handle = NULL;
138} 138}