ecore_con : Fix that null pointer access for segmentation fault
Summary: "cl->svr" was to be null on line 281. This problem occurred from384f30c8ec
. Replacing "cl->svr" with "svr" corrects the error while preserving the changes in384f30c8ec
. Test Plan: N/A Reviewers: #committers, cedric, Hermet, zmike Subscribers: bowonryu, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6255
This commit is contained in:
parent
475c93fd75
commit
4db762ee6c
|
@ -293,7 +293,7 @@ _ecore_con_client_free(Ecore_Con_Client *cl)
|
|||
efl_event_callback_array_del(inner_socket, _ecore_con_client_socket_ssl_cbs(), cl);
|
||||
|
||||
parent = efl_parent_get(cl->socket);
|
||||
if (parent && (parent != cl->svr->server))
|
||||
if (parent && (parent != svr->server))
|
||||
efl_del(cl->socket); /* we own it */
|
||||
else
|
||||
efl_unref(cl->socket);
|
||||
|
|
Loading…
Reference in New Issue