From: Daniel Stenberg Date: Fri, 30 Nov 2018 10:58:09 +0000 (+0100) Subject: tool_main: rename function to make it unique and better X-Git-Tag: curl-7_63_0~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e2549b86c4022cdad272c265a66c88f06fc3560;p=curl tool_main: rename function to make it unique and better ... there's already another function in the curl tool named free_config_fields! --- diff --git a/src/tool_main.c b/src/tool_main.c index 3089ee37f..c3a81e933 100644 --- a/src/tool_main.c +++ b/src/tool_main.c @@ -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);