summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-08 11:33:42 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-08 11:33:42 +0900
commit434d354a51f57a8c6ff20efcc0fcd2033bcaf46e (patch)
treeae017510734e0e6b680e666dd2e94ffd821f0eba /src/lib/ecore_con
parent5d8034f87d9af835e98f89d28ee79946fee3aea1 (diff)
ecore_con proxy helper - fix null return handling for thread q wait
this fixes CID 1368376
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/ecore_con_proxy_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_con/ecore_con_proxy_helper.c b/src/lib/ecore_con/ecore_con_proxy_helper.c
index 8fb9e0ff6a..82650e8833 100644
--- a/src/lib/ecore_con/ecore_con_proxy_helper.c
+++ b/src/lib/ecore_con/ecore_con_proxy_helper.c
@@ -367,6 +367,7 @@ _efl_net_proxy_helper_url_wait(int id)
367 eina_spinlock_release(&_efl_net_proxy_helper_queue_lock); 367 eina_spinlock_release(&_efl_net_proxy_helper_queue_lock);
368 368
369 msg = eina_thread_queue_wait(req->thq, &ref); 369 msg = eina_thread_queue_wait(req->thq, &ref);
370 if (!msg) return NULL;
370 ret = msg->proxies; 371 ret = msg->proxies;
371 msg->proxies = NULL; 372 msg->proxies = NULL;
372 eina_thread_queue_wait_done(req->thq, ref); 373 eina_thread_queue_wait_done(req->thq, ref);