Loading tests/libtest/lib506.c +7 −4 Original line number Diff line number Diff line Loading @@ -149,11 +149,11 @@ int test(char *URL) { int res; CURLSHcode scode = CURLSHE_OK; char *url; char *url = NULL; struct Tdata tdata; CURL *curl; CURLSH *share; struct curl_slist *headers; struct curl_slist *headers = NULL; int i; struct userdata user; Loading Loading @@ -286,8 +286,11 @@ test_cleanup: /* clean up last handle */ printf( "CLEANUP\n" ); curl_easy_cleanup( curl ); if ( headers ) curl_slist_free_all( headers ); if ( url ) curl_free(url); /* free share */ Loading Loading
tests/libtest/lib506.c +7 −4 Original line number Diff line number Diff line Loading @@ -149,11 +149,11 @@ int test(char *URL) { int res; CURLSHcode scode = CURLSHE_OK; char *url; char *url = NULL; struct Tdata tdata; CURL *curl; CURLSH *share; struct curl_slist *headers; struct curl_slist *headers = NULL; int i; struct userdata user; Loading Loading @@ -286,8 +286,11 @@ test_cleanup: /* clean up last handle */ printf( "CLEANUP\n" ); curl_easy_cleanup( curl ); if ( headers ) curl_slist_free_all( headers ); if ( url ) curl_free(url); /* free share */ Loading