]> granicus.if.org Git - curl/commitdiff
getinmemory: remove a comment
authorDaniel Stenberg <daniel@haxx.se>
Sat, 28 Sep 2013 22:16:21 +0000 (00:16 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 28 Sep 2013 22:16:21 +0000 (00:16 +0200)
The comment mentioned the need to free the data, but the example already
does that free

docs/examples/getinmemory.c

index 8e31e8f00886266e06b3845f96c4a33c30b0e7af..1608ec5514aa3d351f788c2a7b2839fcc97c80fd 100644 (file)
@@ -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);