forked from enlightenment/efl
efl_net_dialer_http: Do curl shutdown in destructor
Summary: curl_global_init() in efl_net_dialer_http constructor. curl_global_cleanup() need to call when it destructor. Without this, module and libcurl internal data are leaking. Reviewers: Hermet, raster Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12259
This commit is contained in:
parent
215e9ca9b3
commit
74832777f4
|
@ -1198,6 +1198,8 @@ _efl_net_dialer_http_efl_object_destructor(Eo *o, Efl_Net_Dialer_Http_Data *pd)
|
|||
_secure_free(&pd->authentication.password);
|
||||
eina_stringshare_replace(&pd->ssl.ca, NULL);
|
||||
eina_stringshare_replace(&pd->ssl.crl, NULL);
|
||||
|
||||
_c_shutdown();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue