diff options
Diffstat (limited to 'tests/libtest/lib1551.c')
-rw-r--r-- | tests/libtest/lib1551.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libtest/lib1551.c b/tests/libtest/lib1551.c index 16e27275a..36ba75715 100644 --- a/tests/libtest/lib1551.c +++ b/tests/libtest/lib1551.c @@ -30,6 +30,7 @@ int test(char *URL) CURL *curl; CURLcode res = CURLE_OK; + global_init(CURL_GLOBAL_ALL); curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL, URL); @@ -41,5 +42,6 @@ int test(char *URL) res = curl_easy_perform(curl); curl_easy_cleanup(curl); } + curl_global_cleanup(); return (int)res; } |