aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/lib1522.c1
-rw-r--r--tests/libtest/lib1905.c1
-rw-r--r--tests/libtest/lib1906.c1
-rw-r--r--tests/unit/unit1608.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/libtest/lib1522.c b/tests/libtest/lib1522.c
index 6ac2f9358..3675175ee 100644
--- a/tests/libtest/lib1522.c
+++ b/tests/libtest/lib1522.c
@@ -84,6 +84,7 @@ int test(char *URL)
curl_slist_free_all(pHeaderList);
curl_easy_cleanup(pCurl);
+ curl_global_cleanup();
return 0;
}
diff --git a/tests/libtest/lib1905.c b/tests/libtest/lib1905.c
index b09c4f526..79a50a782 100644
--- a/tests/libtest/lib1905.c
+++ b/tests/libtest/lib1905.c
@@ -88,6 +88,7 @@ int test(char *URL)
curl_easy_cleanup(ch);
curl_share_cleanup(sh);
curl_multi_cleanup(cm);
+ curl_global_cleanup();
return 0;
}
diff --git a/tests/libtest/lib1906.c b/tests/libtest/lib1906.c
index af3d1acb6..6c7a4bf6e 100644
--- a/tests/libtest/lib1906.c
+++ b/tests/libtest/lib1906.c
@@ -66,6 +66,7 @@ int test(char *URL)
curl_easy_cleanup(curl);
curl_url_cleanup(curlu);
+ curl_global_cleanup();
return 0;
}
diff --git a/tests/unit/unit1608.c b/tests/unit/unit1608.c
index 4fc24704b..38d5cb278 100644
--- a/tests/unit/unit1608.c
+++ b/tests/unit/unit1608.c
@@ -65,6 +65,7 @@ UNITTEST_START
}
curl_easy_cleanup(easy);
+ curl_global_cleanup();
abort_unless(addrhead != addrs, "addresses are not being reordered");