From 2acaf3c8046ae2c340f628d1af5ecc9be105f875 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sun, 23 Aug 2015 20:57:17 +0200 Subject: [PATCH] tool: fix memory leak with --proto-default option --- src/tool_cfgable.c | 1 + 1 file changed, 1 insertion(+) 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);