From ebe5191b631a093fb9ad37b778d51b39d86c1966 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 10 Mar 2003 17:01:11 +0000 Subject: no the data is not freed, this is left for the app to do when needed --- docs/examples/getinmemory.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3