File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ struct OperationConfig *config_alloc(void)
5252 config -> ftp_skip_ip = TRUE;
5353 config -> file_clobber_mode = CLOBBER_DEFAULT ;
5454 config -> upload_flags = CURLULFLAG_SEEN ;
55+ config -> retry_delay_ms = RETRY_SLEEP_DEFAULT ;
56+ config -> quic_version = 0 ; /* Default to 0, flag not used */
5557 curlx_dyn_init (& config -> postdata , MAX_FILE2MEMORY );
5658 return config ;
5759}
@@ -189,7 +191,6 @@ static void free_config_fields(struct OperationConfig *config)
189191 tool_safefree (config -> ech );
190192 tool_safefree (config -> ech_config );
191193 tool_safefree (config -> ech_public );
192- tool_safefree (config -> knownhosts );
193194}
194195
195196void config_free (struct OperationConfig * config )
@@ -259,7 +260,7 @@ static void free_globalconfig(void)
259260 tool_safefree (global -> trace_dump );
260261
261262 if (global -> trace_fopened && global -> trace_stream )
262- curlx_fclose (global -> trace_stream );
263+ fclose (global -> trace_stream );
263264 global -> trace_stream = NULL ;
264265
265266 tool_safefree (global -> libcurl );
You can’t perform that action at this time.
0 commit comments