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:
c426234
)
no the data is not freed, this is left for the app to do when needed
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 10 Mar 2003 17:01:11 +0000
(17:01 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 10 Mar 2003 17:01:11 +0000
(17:01 +0000)
docs/examples/getinmemory.c
patch
|
blob
|
history
diff --git
a/docs/examples/getinmemory.c
b/docs/examples/getinmemory.c
index
afd6e3f
..
7d66291
100644
(file)
--- a/
docs/examples/getinmemory.c
+++ b/
docs/examples/getinmemory.c
@@
-74,6
+74,10
@@
int main(int argc, char **argv)
* bytes big and contains the remote file.
*
* Do something nice with it!
+ *
+ * You should be aware of the fact that at this point we might have an
+ * allocated data block, and nothing has yet deallocated that data. So when
+ * you're done with it, you should free() it as a nice application.
*/
return 0;