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

url: remove call to Curl_llist_destroy in Curl_close #10846

Closed
wants to merge 1 commit into from

Conversation

bagder
Copy link
Member

@bagder bagder commented Mar 27, 2023

A list that is created with a NULL "destructor" does not need to be destroyed. Not calling it is faster than calling it.

A list that is created with a NULL "destructor" does not need to be
destroyed. Not call it is faster than calling it.
@bagder bagder closed this in 5fec927 Mar 27, 2023
@bagder bagder deleted the bagder/url-llist_destroy branch March 27, 2023 21:36
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
A list that is created with a NULL "destructor" does not need to be
destroyed. Not calling it is faster than calling it.

Closes curl#10846
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

1 participant