diff options
Diffstat (limited to 'tests/libtest/lib533.c')
-rw-r--r-- | tests/libtest/lib533.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/libtest/lib533.c b/tests/libtest/lib533.c index a4b6877ef..74499c232 100644 --- a/tests/libtest/lib533.c +++ b/tests/libtest/lib533.c @@ -29,8 +29,10 @@ int test(char *URL) curl_global_init(CURL_GLOBAL_ALL); curl = curl_easy_init(); - if(!curl) + if(!curl) { + curl_global_cleanup(); return 100; /* major bad */ + } curl_easy_setopt(curl, CURLOPT_URL, URL); curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); |