mirror of
https://github.com/curl/curl.git
synced 2026-05-01 17:07:51 +03:00
parent
8df315d5b3
commit
284ef8a3dc
3 changed files with 4 additions and 4 deletions
|
|
@ -61,7 +61,7 @@ static void free_config_fields(struct OperationConfig *config)
|
|||
Curl_safefree(config->cookiejar);
|
||||
curl_slist_free_all(config->cookiefiles);
|
||||
|
||||
Curl_dyn_free(&config->postdata);
|
||||
curlx_dyn_free(&config->postdata);
|
||||
Curl_safefree(config->query);
|
||||
Curl_safefree(config->referer);
|
||||
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ CURLcode tool_ssls_load(struct GlobalConfig *global,
|
|||
++i;
|
||||
curl_free(shmac);
|
||||
curl_free(sdata);
|
||||
line = Curl_dyn_ptr(&buf);
|
||||
line = curlx_dyn_ptr(&buf);
|
||||
|
||||
c = memchr(line, ':', strlen(line));
|
||||
if(!c) {
|
||||
|
|
|
|||
|
|
@ -471,7 +471,7 @@ ParameterError setvariable(struct GlobalConfig *global,
|
|||
struct dynbuf fname;
|
||||
line++;
|
||||
|
||||
Curl_dyn_init(&fname, MAX_FILENAME);
|
||||
curlx_dyn_init(&fname, MAX_FILENAME);
|
||||
|
||||
use_stdin = !strcmp(line, "-");
|
||||
if(use_stdin)
|
||||
|
|
@ -490,7 +490,7 @@ ParameterError setvariable(struct GlobalConfig *global,
|
|||
if(clen)
|
||||
contalloc = TRUE;
|
||||
}
|
||||
Curl_dyn_free(&fname);
|
||||
curlx_dyn_free(&fname);
|
||||
if(!use_stdin && file)
|
||||
fclose(file);
|
||||
if(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue