]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tool_cfgable: remove superfluous free calls
authorDalei <wangcppclei@gmail.com>
Fri, 24 Oct 2025 08:02:47 +0000 (08:02 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 24 Oct 2025 09:05:43 +0000 (11:05 +0200)
Fixes #19213
Closes #19214

src/tool_cfgable.c

index 48148a88ad5bce13644fb10ce2f98f3650aaaaf5..29d5ecc782209b919d081e976f3616dd58e3399f 100644 (file)
@@ -184,8 +184,6 @@ static void free_config_fields(struct OperationConfig *config)
   tool_safefree(config->ftp_account);
   tool_safefree(config->ftp_alternative_to_user);
   tool_safefree(config->aws_sigv4);
-  tool_safefree(config->proto_str);
-  tool_safefree(config->proto_redir_str);
   tool_safefree(config->ech);
   tool_safefree(config->ech_config);
   tool_safefree(config->ech_public);