Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memleak and reset option #1

Merged
merged 2 commits into from
Feb 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/tool_cfgable.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ static void free_config_fields(struct OperationConfig *config)
Curl_safefree(config->proto_str);
Curl_safefree(config->proto_redir_str);

// Impersonate
Curl_safefree(config->ssl_sig_hash_algs);
Curl_safefree(config->ssl_cert_compression);
Curl_safefree(config->http2_pseudo_headers_order);
Curl_safefree(config->http2_settings);
Curl_safefree(config->http2_streams);
// End Impersonate

urlnode = config->url_list;
while(urlnode) {
struct getout *next = urlnode->next;
Expand Down