diff options
Diffstat (limited to 'tests/libtest/lib501.c')
-rw-r--r-- | tests/libtest/lib501.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/libtest/lib501.c b/tests/libtest/lib501.c index ff2bbb5b9..8963fbb39 100644 --- a/tests/libtest/lib501.c +++ b/tests/libtest/lib501.c @@ -30,10 +30,12 @@ int test(char *URL) return TEST_ERR_MAJOR_BAD; } - curl_easy_setopt(curl, CURLOPT_HEADER, 1L); + test_setopt(curl, CURLOPT_HEADER, 1L); res = curl_easy_perform(curl); +test_cleanup: + curl_easy_cleanup(curl); curl_global_cleanup(); |