projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1361fc6
)
clear http->send_buffer when we have freed the memory it pointed to
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 28 Jul 2003 10:21:57 +0000
(10:21 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 28 Jul 2003 10:21:57 +0000
(10:21 +0000)
lib/http.c
patch
|
blob
|
history
diff --git
a/lib/http.c
b/lib/http.c
index
b361a20
..
7f6752e
100644
(file)
--- a/
lib/http.c
+++ b/
lib/http.c
@@
-624,6
+624,7
@@
CURLcode Curl_http_done(struct connectdata *conn)
free(buff->buffer);
free(buff);
+ http->send_buffer = NULL; /* cleaer the pointer */
}
if(HTTPREQ_POST_FORM == data->set.httpreq) {