forked from enlightenment/efl
ecore_con proxy helper - fix null return handling for thread q wait
this fixes CID 1368376
This commit is contained in:
parent
5d8034f87d
commit
434d354a51
|
@ -367,6 +367,7 @@ _efl_net_proxy_helper_url_wait(int id)
|
|||
eina_spinlock_release(&_efl_net_proxy_helper_queue_lock);
|
||||
|
||||
msg = eina_thread_queue_wait(req->thq, &ref);
|
||||
if (!msg) return NULL;
|
||||
ret = msg->proxies;
|
||||
msg->proxies = NULL;
|
||||
eina_thread_queue_wait_done(req->thq, ref);
|
||||
|
|
Loading…
Reference in New Issue