diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-03-10 17:01:11 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-03-10 17:01:11 +0000 |
commit | ebe5191b631a093fb9ad37b778d51b39d86c1966 (patch) | |
tree | e68ad5c7113d65a1f666861972ecfc07f9a907cd | |
parent | c426234df75d1dfcf115a198e198ef8b89736ccb (diff) |
no the data is not freed, this is left for the app to do when needed
-rw-r--r-- | docs/examples/getinmemory.c | 4 |
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; |