return -1 for ecore_con_server_fd_get() in the rare case that the server has already been deleted

SVN revision: 76582
This commit is contained in:
Mike Blumenkrantz 2012-09-13 07:04:11 +00:00
parent 3f27034dc7
commit ec11fcc9c1
2 changed files with 5 additions and 0 deletions

View File

@ -936,3 +936,7 @@
* Fix ecore_x_randr to actually return crtcs possible outputs properly.
* Fix ecore_x_randr to actually return crtcs outputs properly.
2012-09-13 Mike Blumenkrantz
* Return -1 for ecore_con_server_fd_get() in the case that the server has already been deleted

View File

@ -953,6 +953,7 @@ ecore_con_server_fd_get(Ecore_Con_Server *svr)
return -1;
}
if (svr->created) return -1;
if (svr->delete_me) return -1;
return ecore_main_fd_handler_fd_get(svr->fd_handler);
}