summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWoochanlee <wc0917.lee@samsung.com>2021-04-28 10:45:26 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-04-28 10:45:26 +0100
commit74832777f4057e86e8ccca7214bd7445881f3abd (patch)
treef5718132f5db52c7e6c36771843b21e2527b7ede /src
parent215e9ca9b394018db468fac5d6b13f97ac0f9e37 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_con/efl_net_dialer_http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_con/efl_net_dialer_http.c b/src/lib/ecore_con/efl_net_dialer_http.c
index 7215d9a195..439acbc099 100644
--- a/src/lib/ecore_con/efl_net_dialer_http.c
+++ b/src/lib/ecore_con/efl_net_dialer_http.c
@@ -1198,6 +1198,8 @@ _efl_net_dialer_http_efl_object_destructor(Eo *o, Efl_Net_Dialer_Http_Data *pd)
1198 _secure_free(&pd->authentication.password); 1198 _secure_free(&pd->authentication.password);
1199 eina_stringshare_replace(&pd->ssl.ca, NULL); 1199 eina_stringshare_replace(&pd->ssl.ca, NULL);
1200 eina_stringshare_replace(&pd->ssl.crl, NULL); 1200 eina_stringshare_replace(&pd->ssl.crl, NULL);
1201
1202 _c_shutdown();
1201} 1203}
1202 1204
1203static void 1205static void