no the data is not freed, this is left for the app to do when needed
authorDaniel Stenberg <daniel@haxx.se>
Mon, 10 Mar 2003 17:01:11 +0000 (17:01 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 10 Mar 2003 17:01:11 +0000 (17:01 +0000)
docs/examples/getinmemory.c

index afd6e3f..7d66291 100644 (file)
@@ -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;