Ecore con server: Fix destructor to call super correctly.

This commit is contained in:
Tom Hacohen 2014-08-29 10:07:14 +01:00
parent 61cd629a59
commit 607901fb0e
1 changed files with 3 additions and 2 deletions

View File

@ -1283,7 +1283,7 @@ _ecore_con_server_eo_base_destructor(Eo *obj, Ecore_Con_Server_Data *svr)
Ecore_Con_Client *cl_obj;
double t_start, t;
if (svr->event_count) return;
if (svr->event_count) goto end;
while (svr->infos)
{
@ -1309,7 +1309,7 @@ _ecore_con_server_eo_base_destructor(Eo *obj, Ecore_Con_Server_Data *svr)
#ifdef _WIN32
ecore_con_local_win32_server_del(obj);
#endif
if (svr->event_count) return;
if (svr->event_count) goto end;
if (svr->buf)
eina_binbuf_free(svr->buf);
@ -1352,6 +1352,7 @@ _ecore_con_server_eo_base_destructor(Eo *obj, Ecore_Con_Server_Data *svr)
servers = eina_list_remove(servers, obj);
svr->data = NULL;
end:
eo_do_super(obj, ECORE_CON_SERVER_CLASS, eo_destructor());
}