aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-07-28 10:21:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-07-28 10:21:57 +0000
commit48a580e609c236be4d76be61f2e51821a964410f (patch)
tree328f05302a8f5718ef1669197fa62296a48e147d /lib
parent1361fc69b95ba6c603fd133c17b5ef52a473c99e (diff)
clear http->send_buffer when we have freed the memory it pointed to
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http.c b/lib/http.c
index b361a204b..7f6752ec5 100644
--- 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) {