aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-10 17:01:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-10 17:01:11 +0000
commitebe5191b631a093fb9ad37b778d51b39d86c1966 (patch)
treee68ad5c7113d65a1f666861972ecfc07f9a907cd /docs/examples
parentc426234df75d1dfcf115a198e198ef8b89736ccb (diff)
no the data is not freed, this is left for the app to do when needed
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/getinmemory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/examples/getinmemory.c b/docs/examples/getinmemory.c
index afd6e3f03..7d6629123 100644
--- 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;