aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-09-29 00:16:21 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-09-29 00:16:21 +0200
commit4d7bf73fc31c724f8af9fb7eaf398fae7366e16f (patch)
treefc3c15e700e55d0d274ebe0145c0d3edcb185a99 /docs
parent3c34f453fa62bb3715e47c6096b22d0bb9db2bbf (diff)
getinmemory: remove a comment
The comment mentioned the need to free the data, but the example already does that free
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/getinmemory.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/docs/examples/getinmemory.c b/docs/examples/getinmemory.c
index 8e31e8f00..1608ec551 100644
--- a/docs/examples/getinmemory.c
+++ b/docs/examples/getinmemory.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -98,10 +98,6 @@ int main(void)
* 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.
*/
printf("%lu bytes retrieved\n", (long)chunk.size);