projects
/
platform
/
upstream
/
curl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 7.44.0
[platform/upstream/curl.git]
/
docs
/
examples
/
postinmemory.c
diff --git
a/docs/examples/postinmemory.c
b/docs/examples/postinmemory.c
index
cd2bd13
..
3afac4b
100644
(file)
--- a/
docs/examples/postinmemory.c
+++ b/
docs/examples/postinmemory.c
@@
-101,8
+101,7
@@
int main(void)
/* always cleanup */
curl_easy_cleanup(curl);
- if(chunk.memory)
- free(chunk.memory);
+ free(chunk.memory);
/* we're done with libcurl, so clean it up */
curl_global_cleanup();