diff options
author | Yang Tse <yangsita@gmail.com> | 2006-10-25 05:59:46 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-10-25 05:59:46 +0000 |
commit | 384c8f356087178e4779d99d3e0e7f25331293aa (patch) | |
tree | 7b7d5aec819f6f47ccc3b28d7390ae62c036535b /tests/libtest/lib512.c | |
parent | f44ef427a2fbe506a35548ebab2b503438d6a027 (diff) | |
download | curl-384c8f356087178e4779d99d3e0e7f25331293aa.tar.gz |
Use curl_global_init() and curl_global_cleanup().
Improve cleanup in case of initialization failure.
Diffstat (limited to 'tests/libtest/lib512.c')
-rw-r--r-- | tests/libtest/lib512.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libtest/lib512.c b/tests/libtest/lib512.c index d52baa6d0..f8edbd37d 100644 --- a/tests/libtest/lib512.c +++ b/tests/libtest/lib512.c @@ -43,6 +43,8 @@ int test(char *URL) } else rc = 4; + + curl_global_cleanup(); } else rc = 5; |