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

url2file.c example misses curl_global_cleanup() #2245

Closed
XhstormR opened this Issue Jan 17, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@XhstormR
Copy link

XhstormR commented Jan 17, 2018

curl_global_init() function is called here,but in the end did not call curl_global_cleanup() function to clean up.

https://github.com/curl/curl/blob/master/docs/examples/url2file.c#L49

@XhstormR XhstormR changed the title I think the sample code is missing some code I think url2file.c sample missing some code Jan 17, 2018

@bagder bagder changed the title I think url2file.c sample missing some code url2file.c example misses curl_global_cleanup() Jan 17, 2018

@bagder

This comment has been minimized.

Copy link
Member

bagder commented Jan 18, 2018

Thanks!

@bagder bagder closed this in da07dbb Jan 18, 2018

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.