mirror of
https://github.com/moparisthebest/curl
synced 2024-11-04 16:45:06 -05:00
tool_main: rename function to make it unique and better
... there's already another function in the curl tool named free_config_fields!
This commit is contained in:
parent
436b50f2f7
commit
8e2549b86c
@ -192,7 +192,7 @@ static CURLcode main_init(struct GlobalConfig *config)
|
||||
return result;
|
||||
}
|
||||
|
||||
static void free_config_fields(struct GlobalConfig *config)
|
||||
static void free_globalconfig(struct GlobalConfig *config)
|
||||
{
|
||||
Curl_safefree(config->trace_dump);
|
||||
|
||||
@ -229,7 +229,7 @@ static void main_free(struct GlobalConfig *config)
|
||||
PR_Cleanup();
|
||||
}
|
||||
#endif
|
||||
free_config_fields(config);
|
||||
free_globalconfig(config);
|
||||
|
||||
/* Free the config structures */
|
||||
config_free(config->last);
|
||||
|
Loading…
Reference in New Issue
Block a user