mirror of
https://github.com/curl/curl.git
synced 2026-07-23 19:17:18 +03:00
examples: call curl_global_cleanup() where missing
Reported-by: Joshua Rogers (for `sepheaders.c`) Closes #19051
This commit is contained in:
parent
497b3f022e
commit
5cf0a6789d
8 changed files with 19 additions and 0 deletions
|
|
@ -100,5 +100,8 @@ int main(int argc, char *argv[])
|
|||
/* free slist */
|
||||
curl_slist_free_all(headerlist);
|
||||
}
|
||||
|
||||
curl_global_cleanup();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue