diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2017-08-26 22:01:42 +0200 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2017-08-26 22:01:42 +0200 |
commit | d7d0c9d9538df7f78b83cc91da8ec96c7d160f6a (patch) | |
tree | 8a302768da4e8b46ae08f6ff796d95c9c3a8c3c5 /tests/libtest/mk-lib1521.pl | |
parent | 09fc61e43607c4131475b0d31f41dd173d490b24 (diff) | |
download | curl-d7d0c9d9538df7f78b83cc91da8ec96c7d160f6a.tar.gz |
tests: Make sure libtests & unittests call curl_global_cleanup()
These were missed in commit c468c27b.
Diffstat (limited to 'tests/libtest/mk-lib1521.pl')
-rw-r--r-- | tests/libtest/mk-lib1521.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libtest/mk-lib1521.pl b/tests/libtest/mk-lib1521.pl index e60bce5cc..f5c68eb10 100644 --- a/tests/libtest/mk-lib1521.pl +++ b/tests/libtest/mk-lib1521.pl @@ -157,6 +157,7 @@ int test(char *URL) struct curl_tlssessioninfo *tlssession; CURLcode res = CURLE_OK; (void)URL; /* not used */ + global_init(CURL_GLOBAL_ALL); easy_init(dep); easy_init(curl); share = curl_share_init(); @@ -296,6 +297,7 @@ test_cleanup: curl_easy_cleanup(curl); curl_easy_cleanup(dep); curl_share_cleanup(share); + curl_global_cleanup(); return (int)res; } |