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

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 from I think the sample code is missing some code to I think url2file.c sample missing some code Jan 17, 2018

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

@bagder

This comment has been minimized.

Show comment Hide comment
@bagder

bagder Jan 18, 2018

Member

Thanks!

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.