From: Enlightenment S. <no-...@en...> - 2010-12-01 10:33:13
|
Log: avoid segv Author: discomfitor Date: 2010-12-01 02:33:07 -0800 (Wed, 01 Dec 2010) New Revision: 55118 Trac: http://trac.enlightenment.org/e/changeset/55118 Modified: trunk/ecore/src/lib/ecore_con/ecore_con.c Modified: trunk/ecore/src/lib/ecore_con/ecore_con.c =================================================================== --- trunk/ecore/src/lib/ecore_con/ecore_con.c 2010-12-01 10:31:20 UTC (rev 55117) +++ trunk/ecore/src/lib/ecore_con/ecore_con.c 2010-12-01 10:33:07 UTC (rev 55118) @@ -1770,7 +1770,7 @@ error: close(new_fd); - if (cl->fd_handler) + if (cl && cl->fd_handler) ecore_main_fd_handler_del(cl->fd_handler); return ECORE_CALLBACK_RENEW; } |