From 811be52e1c0a8dd0425f2b05205b9493f9f86279 Mon Sep 17 00:00:00 2001 From: satishbhat-umd Date: Mon, 1 Mar 2021 16:00:11 -0600 Subject: [PATCH] Add global cleanup to curl object destructor (#652) Co-authored-by: Satish Bhat --- src/tz.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tz.cpp b/src/tz.cpp index 7cbdbcb..8b4576a 100644 --- a/src/tz.cpp +++ b/src/tz.cpp @@ -2863,6 +2863,7 @@ struct curl_deleter void operator()(CURL* p) const { ::curl_easy_cleanup(p); + ::curl_global_cleanup(); } };