diff options
Diffstat (limited to 'tests/libtest')
-rw-r--r-- | tests/libtest/lib1515.c | 1 | ||||
-rw-r--r-- | tests/libtest/mk-lib1521.pl | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/libtest/lib1515.c b/tests/libtest/lib1515.c index c1499381a..4b41dc2e4 100644 --- a/tests/libtest/lib1515.c +++ b/tests/libtest/lib1515.c @@ -148,6 +148,7 @@ int test(char *URL) test_cleanup: curl_multi_cleanup(multi); + curl_global_cleanup(); return (int) res; } 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; } |