efl_net_dialer_http: fix reference check.
With the last patch to fix delete-from-curl callback it went too much, considering it was always dead (in the test scenario it was, so it was "right"), but broke normal cases.
This commit is contained in:
parent
633ec445b8
commit
d52daf8dd7
|
@ -818,7 +818,7 @@ _efl_net_dialer_http_curl_safe_end(Eo *o, Efl_Net_Dialer_Http_Data *pd, CURL *ea
|
|||
int refs;
|
||||
|
||||
refs = efl_ref_get(o);
|
||||
if (refs > 2)
|
||||
if (refs >= 2)
|
||||
{
|
||||
pd->in_curl_callback--;
|
||||
efl_unref(o);
|
||||
|
|
Loading…
Reference in New Issue