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 leaked handle in create_socket #1554

Merged
merged 1 commit into from
Apr 9, 2023
Merged

Conversation

trollixx
Copy link
Contributor

@trollixx trollixx commented Apr 9, 2023

Coverity Scan has flagged the following potential resource leak in cpp-httplib, which is bundled in Zeal. It is the only "high impact" issue. There are other lower priority potential problems, which I may try to fix later.

image

Fixes resource leak problem detected by Coverity Scan.
@yhirose yhirose merged commit c2e156e into yhirose:master Apr 9, 2023
@yhirose
Copy link
Owner

yhirose commented Apr 9, 2023

@trollixx thanks for the fine contribution!

@trollixx trollixx deleted the fix-handle-leak branch April 9, 2023 18:23
ExclusiveOrange pushed a commit to ExclusiveOrange/cpp-httplib-exor that referenced this pull request May 2, 2023
Fixes resource leak problem detected by Coverity Scan.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants