1
0
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:
Daniel Stenberg 2018-11-30 11:58:09 +01:00
parent 436b50f2f7
commit 8e2549b86c
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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);