projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
775b60f
)
Add a call to curl_global_cleanup to show how to do a proper shutdown.
author
Dan Fandrich
<dan@coneharvesters.com>
Wed, 7 Nov 2007 04:53:37 +0000
(
04:53
+0000)
committer
Dan Fandrich
<dan@coneharvesters.com>
Wed, 7 Nov 2007 04:53:37 +0000
(
04:53
+0000)
docs/examples/getinmemory.c
patch
|
blob
|
history
diff --git
a/docs/examples/getinmemory.c
b/docs/examples/getinmemory.c
index
e80aa41
..
fc1f87a
100644
(file)
--- a/
docs/examples/getinmemory.c
+++ b/
docs/examples/getinmemory.c
@@
-98,5
+98,8
@@
int main(int argc, char **argv)
if(chunk.memory)
free(chunk.memory);
+ /* we're done with libcurl, so clean it up */
+ curl_global_cleanup();
+
return 0;
}