url2file.c example misses curl_global_cleanup() #2245

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

Comments

Projects
None yet
2 participants

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

Owner

bagder commented Jan 18, 2018

Thanks!

@bagder bagder closed this in da07dbb Jan 18, 2018

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