From: Dan Fandrich Date: Sun, 23 Aug 2015 18:57:17 +0000 (+0200) Subject: tool: fix memory leak with --proto-default option X-Git-Tag: curl-7_45_0~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2acaf3c8046ae2c340f628d1af5ecc9be105f875;p=curl tool: fix memory leak with --proto-default option --- diff --git a/src/tool_cfgable.c b/src/tool_cfgable.c index 7ad86cad3..64f15ca27 100644 --- a/src/tool_cfgable.c +++ b/src/tool_cfgable.c @@ -118,6 +118,7 @@ static void free_config_fields(struct OperationConfig *config) Curl_safefree(config->unix_socket_path); Curl_safefree(config->writeout); + Curl_safefree(config->proto_default); curl_slist_free_all(config->quote); curl_slist_free_all(config->postquote);