ecore_con: it is best to call the super destructor and not touch the object anymore after.

Differential Revision: https://phab.enlightenment.org/D6082
This commit is contained in:
Cedric BAIL 2018-05-01 16:20:26 -07:00
parent 67e48c679d
commit e46369a569
1 changed files with 2 additions and 2 deletions

View File

@ -336,8 +336,6 @@ _efl_net_ssl_context_efl_object_constructor(Eo *o, Efl_Net_Ssl_Context_Data *pd)
EOLIAN static void
_efl_net_ssl_context_efl_object_destructor(Eo *o, Efl_Net_Ssl_Context_Data *pd)
{
efl_destructor(efl_super(o, MY_CLASS));
efl_net_ssl_ctx_teardown(&pd->ssl_ctx);
_efl_net_ssl_context_string_list_free(&pd->certificates);
@ -346,6 +344,8 @@ _efl_net_ssl_context_efl_object_destructor(Eo *o, Efl_Net_Ssl_Context_Data *pd)
_efl_net_ssl_context_string_list_free(&pd->certificate_authorities);
eina_stringshare_replace(&pd->hostname, NULL);
efl_destructor(efl_super(o, MY_CLASS));
}
static Efl_Net_Ssl_Context *_efl_net_ssl_context_default_dialer = NULL;