ecore_con proxy helper - fix null return handling for thread q wait

this fixes CID 1368376
This commit is contained in:
Carsten Haitzler 2017-02-08 11:33:42 +09:00
parent 5d8034f87d
commit 434d354a51
1 changed files with 1 additions and 0 deletions

View File

@ -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);