]> granicus.if.org Git - curl/commitdiff
Call curl_global_cleanup() in test 560 to avoid a memory leak
authorDan Fandrich <dan@coneharvesters.com>
Tue, 30 Mar 2010 19:52:44 +0000 (12:52 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 30 Mar 2010 19:52:44 +0000 (12:52 -0700)
tests/libtest/lib560.c

index ce6809d39c061e0a7c3d50d029a2c13b5eed32de..87e8545556f540cb7a4aa0cca841e319a1c56adf 100644 (file)
@@ -99,6 +99,7 @@ test_cleanup:
     curl_multi_cleanup(multi_handle);
 
   curl_easy_cleanup(http_handle);
+  curl_global_cleanup();
 
   return res;
 }