Ecore con: Close server socket fd on failure.
authorAwadhesh Singh <awadhesh1.s@samsung.com>
Fri, 5 Feb 2016 11:44:39 +0000 (11:44 +0000)
committerTom Hacohen <tom@stosb.com>
Fri, 5 Feb 2016 11:44:41 +0000 (11:44 +0000)
commitf05577c3ae72cb1f1a34be3793243a008cd8e1bb
tree481cf40a6f11b76159bbe7e3fd257c233f67c9dd
parentf04d509feb45cda11919c903c6a45e1d3a0a5a48
Ecore con: Close server socket fd on failure.

Summary:
Socket fd must be closed to avoid file discripter leak.
Programs can usually only open a limited number of file descriptors,
so if this happens a lot, it may turn into a problem.

@fix

Reviewers: raster, Hermet, wonsik, spacegrapher, cedric, jpeg, tasn

Reviewed By: tasn

Subscribers: cedric, alok25, yashu21985, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D3660
src/lib/ecore_con/ecore_con_local.c