summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHermet Park <chuneon.park@samsung.com>2021-03-16 10:28:27 +0900
committerHermet Park <chuneon.park@samsung.com>2021-03-16 10:28:27 +0900
commitb9b2b722054f3bb5b3ce1e554aa2cefaf03e8091 (patch)
tree95d24240723222b24208384d2d7c06dd4b67b4e3 /src
parent046c5cd58e1feb8760a1fbf4a1bb4253ed40f947 (diff)
ecore_con: add null check for safety.
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_con/efl_net_dialer_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_con/efl_net_dialer_unix.c b/src/lib/ecore_con/efl_net_dialer_unix.c
index b2d3dfce39..000ba66013 100644
--- a/src/lib/ecore_con/efl_net_dialer_unix.c
+++ b/src/lib/ecore_con/efl_net_dialer_unix.c
@@ -94,6 +94,7 @@ _efl_net_dialer_unix_connected(void *data, const struct sockaddr *addr, socklen_
94{ 94{
95 Eo *o = data; 95 Eo *o = data;
96 Efl_Net_Dialer_Unix_Data *pd = efl_data_scope_get(o, MY_CLASS); 96 Efl_Net_Dialer_Unix_Data *pd = efl_data_scope_get(o, MY_CLASS);
97 if (!pd) return;
97 98
98 pd->connect.thread = NULL; 99 pd->connect.thread = NULL;
99 100